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
}
UserService Service
func NewUserService ¶
func NewUserService(dao userDAO) *UserService
NewUserService creates a new UserService with the given user DAO.
func (*UserService) Create ¶
func (userService *UserService) Create(user *models.User) error
Create create new user by userDAO
Click to show internal directories.
Click to hide internal directories.