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) GetUser ¶
func (s *UserServiceImpl) GetUser(id uint64) (user *entity.User, err error)
func (*UserServiceImpl) Init ¶
func (s *UserServiceImpl) Init(repository gorm.Repository)
will inject BoltRepository that configured in github.com/hidevopsio/hiboot/pkg/starter/data/bolt
Click to show internal directories.
Click to hide internal directories.