Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserService ¶
func NewUserService(repo repository.UserRepository) userService
Types ¶
type UserDetail ¶
type UserService ¶
type UserService interface { Register(User) (string, error) GetAllUsers() ([]UserDetail, error) GetUserById(string) (*UserDetail, error) UpdateUser(UserDetail) (string, error) DeleteUser(string) error }
Click to show internal directories.
Click to hide internal directories.