Documentation ¶
Index ¶
- type UserService
- func (s *UserService) Count(id int64) (int64, error)
- func (s *UserService) Create(user *models.User) (*models.User, error)
- func (s *UserService) Delete(id int64) (*models.User, error)
- func (s *UserService) Get(id int64) (*models.User, error)
- func (s *UserService) Update(id int64, user *models.User) (*models.User, error)
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(dal interfaces.UserDal) *UserService
Click to show internal directories.
Click to hide internal directories.