Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserInfo ¶ added in v1.2.1
type UserService ¶
type UserService interface {
Create(ctx core.Context, user *CreateUserInfo) (id uint, err error)
UpdateNickNameByID(ctx core.Context, id uint, username string) (err error)
GetUserByUserName(ctx core.Context, username string) (user *user_demo_repo.UserDemo, err error)
Delete(ctx core.Context, id uint) (err error)
// contains filtered or unexported methods
}
func NewUserService ¶
func NewUserService(db db.Repo, cache cache.Repo) UserService
Click to show internal directories.
Click to hide internal directories.