Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllTypeUser = []TypeUser{ TypeUserNormal, TypeUserModerator, }
Functions ¶
func NewUserEntity ¶
func NewUserType ¶
Types ¶
type City ¶
type NewUser ¶
type NewUser struct { Name string `json:"name"` Email string `json:"email"` CityID int `json:"cityID"` StateID int `json:"stateID"` Phone *string `json:"phone"` Description *string `json:"description"` Password string `json:"password"` Photo *string `json:"photo"` Type TypeUser `json:"type"` ShowEmail bool `json:"showEmail"` ShowPhone bool `json:"showPhone"` ShowAddress bool `json:"showAddress"` Address string `json:"address"` Number *int `json:"number"` ZipCode string `json:"zipCode"` Complement *string `json:"complement"` TotalPets *int `json:"totalPets"` }
type State ¶
type User ¶
type User struct { ID string `json:"id"` Name string `json:"name"` Email string `json:"email"` CityID int `json:"cityID"` StateID int `json:"stateID"` Phone *string `json:"phone"` Description *string `json:"description"` Password string `json:"password"` Photo *string `json:"photo"` Type TypeUser `json:"type"` ShowEmail bool `json:"showEmail"` ShowPhone bool `json:"showPhone"` ShowAddress bool `json:"showAddress"` Address string `json:"address"` Number *int `json:"number"` ZipCode string `json:"zipCode"` Complement *string `json:"complement"` TotalPets *int `json:"totalPets"` }
func NewUserModel ¶
Click to show internal directories.
Click to hide internal directories.