Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService(repository domain.UserRepository[domain.User]) *UserService
func (*UserService) CreateUser ¶
func (s *UserService) CreateUser(user *domain.User) error
func (*UserService) DeleteUser ¶
func (s *UserService) DeleteUser(id uint) error
func (*UserService) GetUserByID ¶
func (s *UserService) GetUserByID(id uint) (*domain.User, error)
func (*UserService) UpdateUser ¶
func (s *UserService) UpdateUser(user *domain.User) error
Click to show internal directories.
Click to hide internal directories.