Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gender ¶
type Gender int
const ( Male Gender = iota Female Transgender PreferNotToSay Others = Transgender )
type User ¶
type User struct { ID uuid.UUID `json:"id" bson:"id,omitempty"` Username string `json:"username" bson:"username,omitempty"` Password string `json:"password" bson:"password,omitempty"` Role UserRole `json:"role" bson:"gender,omitempty"` Name string `json:"name" bson:"name,omitempty"` Age int `json:"age" bson:"age,omitempty"` Gender Gender `json:"gender" bson:"gender,omitempty"` Contact string `json:"contact" bson:"contact,omitempty"` }
Click to show internal directories.
Click to hide internal directories.