Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Menu ¶
type Menu struct {
Id string `json:"id" bson:"_id"`
IdSecondary string `json:"secondaryId" bson:"secondaryId"`
Text string `json:"text" bson:"text"`
Admin int `json:"admin" bson:"admin"`
Icon string `json:"icon,omitempty" bson:"icon"`
Url string `json:"url,omitempty" bson:"url"`
ItemOrder int `json:"itemOrder" bson:"itemOrder"`
TypeContent int `json:"typeContent,omitempty" bson:"typeContent"`
Classroom int `json:"classroom,omitempty" bson:"classroom"`
Menu []Menu `json:"menu,omitempty" bson:"menu"`
}
func (*Menu) GetIdAndSecondaryIdAsBSonQuery ¶
type User ¶
type User struct {
Id string `json:"id" bson:"_id"`
Admin int `json:"admin" bson:"admin"`
Name string `json:"name" bson:"name"`
NickName string `json:"nickname" bson:"nickname"`
Mail string `json:"email" bson:"email"`
Password string `json:"-" bson:"password"`
}
func (*User) GetIdAndMailAsBSonQuery ¶
func (*User) GetMailAsBSonQuery ¶
Click to show internal directories.
Click to hide internal directories.