Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNameEmpty = errors.New("name is empty") ErrUsernameEmpty = errors.New("username is empty") )
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID uint64 Name string Username string Email *mail.Address Balance Balance CreatedAt time.Time UpdatedAt time.Time }
func MustNewUser ¶
func (*User) ChangeBTCBalance ¶
type UserRepository ¶
Click to show internal directories.
Click to hide internal directories.