Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type User ¶
type User struct { Base UserName string `gorm:"size:255;not null;unique"` Email string `gorm:"size:100;not null;unique"` Password string `gorm:"size:255;not null;"` }
func (*User) CheckPassword ¶
func (*User) HashPassword ¶
func (*User) ToUserVm ¶
func (u *User) ToUserVm() *view_models.User
Click to show internal directories.
Click to hide internal directories.