Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserParams ¶
type UserRepository ¶
type UserRepository interface {
Insert(user UserParams) (User, error)
}
type UserService ¶
type UserService interface { RegisterNewUser(userParams UserParams) (User, error) UpdateUser(userParams UserParams) (User, error) DeactivateUser(userParams UserParams) (User, error) GetUser(userParams UserParams) (User, error) GetUsers(userParams UserParams) ([]User, error) }
SOLID [I]: Interface Segregation Principle
Click to show internal directories.
Click to hide internal directories.