type Role struct {
Id int `json:id,omitempty`
UserId int `json:userId,omitempty`
Name string `json:name,omitempty`
IsAdmin bool `json:isAdmin,omitempty`
IsGod bool `json:IsGod,omitempty`
}
type User struct {
Id int `json:"id,omitempty" sql:",pk"`
Name string `json:"name,omitempty"`
Email string `json:"email,omitempty"`
Password []uint8 `json:"-"`
Role *Role `json:"role,omitempty"`
IsFacebook bool `json:"isFacebook"`
IsGoogle bool `json:"isGoogle"`
jwt.StandardClaims
}