Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
func NewDatastore ¶
func NewDatastore() *Datastore
type User ¶
type User struct { ID primitive.ObjectID `bson:"_ID"` User string `bson:"user"` // Visible to other users // ================================================================ Age uint `bson:"age"` AdText string `bson:"adText"` Image string `bson:"image"` // This may seem complex, but I want to give users full control of this. Gender []string `bson:"gender"` TargetGender []string `bson:"targetGender"` Sexuality []string `bson:"sexuality"` Dealbreakers []string `bson:"dealbreakers"` // Things the person doesn't want. Dealmakers []string `bson:"dealmakers"` // Things the person does want. Interests []string `bson:"interests"` ActiveTime time.Time `bson:"activeTime"` // The last active time of the user. Location GeoJson `bson:"location"` // The user's location. }
Click to show internal directories.
Click to hide internal directories.