Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService interface { CreateUser(dto *dto.CreateUserDTO) error GetAllUsers(query utils.QueryParams) ([]*dto.UserDTO, utils.Meta, error) GetUserById(userId string) (*dto.UserDTO, error) UpdateUser(userId string, dto *dto.UpdateUserDTO) (*dto.UserDTO, error) DeleteUser(userId string) error }
func NewUserService ¶
func NewUserService(userRepository repositories.UserRepository) UserService
Click to show internal directories.
Click to hide internal directories.