Documentation ¶ Index ¶ func Boot() func Users(match string) users type User func (u User) Content() string func (u User) Id() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Boot ¶ func Boot() func Users ¶ func Users(match string) users Types ¶ type User ¶ type User struct { ID bson.ObjectId `bson:"_id,omitempty"` Username string `bson:"username"` Seen time.Time `bson:"last_seen_at"` Score float64 `bson:"-"` } func (User) Content ¶ func (u User) Content() string func (User) Id ¶ func (u User) Id() string Source Files ¶ View all Source files init.go Click to show internal directories. Click to hide internal directories.