Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Account ¶
type Account struct { gorm.Model Email string `json:"email"` Password string `json:"password"` Token string `json:"token";sql:"-"` CodValid string `json:"codvalid"` UserName string `json:"username"` UserRole string `json:"userrole"` }
a struct to rep user account
func (*Account) ValidateUpdate ¶
Validate incoming user details...
Click to show internal directories.
Click to hide internal directories.