Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoSuchUser = errors.New("no such user") ErrUserExist = errors.New("user already exist") )
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct {
// contains filtered or unexported fields
}
func (*User) BatchGetUserById ¶
BatchGetUserById get users by userid.
func (*User) CreateUser ¶
CreateUser creates a user.
func (*User) DeleteUserById ¶
DeleteUserById delete a user by id.
func (*User) GetUserById ¶
GetUserById get user by userid.
Click to show internal directories.
Click to hide internal directories.