Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct {
ID int `json:"id"`
Email string `json:"email"`
Password string `json:"password,omitempty"`
EncryptedPassword string `json:"-"`
}
func (*User) BeforeCreate ¶
func (*User) ComparePasswords ¶
Click to show internal directories.
Click to hide internal directories.