Documentation ¶
Index ¶
- Variables
- func AuthUser(ctx context.Context, flag bool) (*entity.User, error)
- func GetUserByAccount(ctx context.Context, account string) (*entity.User, error)
- func GetUserById(ctx context.Context, id int64) (*entity.User, error)
- func SaveUser(ctx context.Context, account, name, password string) (int64, error)
- func UpdateUser(ctx context.Context, user *entity.User) error
- func Users(ctx context.Context, pager tabler.Pager, condition ...interface{}) ([]*entity.User, bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var UserAlreadyExistError = errors.New("user all ready exist")
Functions ¶
func GetUserByAccount ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.