Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserServiceImpl ¶
type UserServiceImpl struct { // add UserService, it means that the instance of UserServiceImpl can be found by UserService UserService // contains filtered or unexported fields }
func (*UserServiceImpl) AddUser ¶
func (s *UserServiceImpl) AddUser(user *entity.User) (err error)
func (*UserServiceImpl) DeleteUser ¶
func (s *UserServiceImpl) DeleteUser(id uint64) (err error)
func (*UserServiceImpl) GetAll ¶
func (s *UserServiceImpl) GetAll() (users *[]entity.User, err error)
Click to show internal directories.
Click to hide internal directories.