application

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateUserCommand

type CreateUserCommand struct {
	Email string
	Name  string
}

type UserService

type UserService struct {
	// contains filtered or unexported fields
}

func NewUserService

func NewUserService(repo domain.UserRepository) *UserService

func (*UserService) CreateUser

func (s *UserService) CreateUser(cmd CreateUserCommand) (*domain.User, error)

func (*UserService) DeleteUser

func (s *UserService) DeleteUser(id string) error

func (*UserService) GetUser

func (s *UserService) GetUser(id string) (*domain.User, error)

func (*UserService) ListUsers

func (s *UserService) ListUsers(offset, limit int) ([]*domain.User, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL