Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserModel ¶
type UserModel struct {
ID bson.ObjectID `bson:"_id,omitempty" json:"id"`
Username string `bson:"username" json:"username"`
DisplayName string `bson:"display_name" json:"displayName"`
City string `bson:"city" json:"city"`
}
UserModel is a model of user that is stored in the database
Click to show internal directories.
Click to hide internal directories.