Documentation
¶
Index ¶
- func New() fx.Option
- type UserService
- func (*UserService) Construct() interface{}
- func (s *UserService) Create(user *models.User) (*models.User, error)
- func (s *UserService) Delete(userLogin *models.User, id uint) error
- func (s *UserService) FindAll(page, perPage int) (map[string]interface{}, error)
- func (s *UserService) FindByID(id uint) (*models.User, error)
- func (s *UserService) Update(id uint, user *models.User) (*models.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func (*UserService) Construct ¶
func (*UserService) Construct() interface{}
Click to show internal directories.
Click to hide internal directories.