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(s storage.Storager) UserService
func (*UserService) CreateUser ¶
func (u *UserService) CreateUser(user models.User) error
func (*UserService) DeleteUser ¶
func (u *UserService) DeleteUser(id int) error
func (*UserService) UpdateUser ¶
func (u *UserService) UpdateUser(user models.User) error
Click to show internal directories.
Click to hide internal directories.