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"`
Phone string `json:"phone"`
Password string `json:"password,omitempty"`
EncryptedPassword string `json:"-"`
}
func (*User) BeforeCreate ¶
func (*User) ComparePassword ¶
Click to show internal directories.
Click to hide internal directories.