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 int32, err error) UpdateNickNameByID(ctx core.Context, id int32, username string) (err error) GetUserByUserName(ctx core.Context, username string) (user *user_demo_repo.UserDemo, err error) Delete(ctx core.Context, id int32) (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.