Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoAuth = rpc.NewError(errorCodeBase+1, codes.Unauthenticated, "no auth") ErrNoPerm = rpc.NewError(errorCodeBase+2, codes.PermissionDenied, "no perm") )
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID int `db:"id"` Username string `db:"username"` FirstName string `db:"first_name"` LastName string `db:"last_name"` Phone string `db:"phone"` Email string `db:"email"` Password string `db:"password"` LastLoginAt time.Time `db:"last_login_at"` UpdatedAt time.Time `db:"updated_at"` CreatedAt time.Time `db:"created_at"` }
Click to show internal directories.
Click to hide internal directories.