Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID primitive.ObjectID `bson:"_id,omitempty"` Username string `bson:"username"` Name string `bson:"name"` Password *string `bson:"password,omitempty"` Email string `bson:"email"` Phone string `bson:"phone"` College string `bson:"college"` Country string `bson:"country"` Year int `bson:"year"` Rank int `bson:"rank"` MemberSince primitive.DateTime `bson:"memberSince"` Answers []questionsAnswered `bson:"answers"` Admin *adminData `bson:"admin"` }
User : The struct to map to user collection
Click to show internal directories.
Click to hide internal directories.