Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ColorSchemes = mongo.NewCollection("colorschemes")
View Source
var Users = user.NewCollection("users")
We are using user.NewCollection here instead of mongo.NewCollection because user.NewCollection sets the correct mongo.Collection.DocLabelSelectors so that mongo.Collection.DocumentLabel(id) returns a label for the document with id composed of the name modelext.Name components Prefix + First + Middle + Last + Postfix + Organization.
Functions ¶
This section is empty.
Types ¶
type ColorScheme ¶
type ColorScheme struct { mongo.DocumentBase `bson:",inline"` Primary model.String Secondary model.String }
func NewColorScheme ¶
func NewColorScheme() *ColorScheme
Click to show internal directories.
Click to hide internal directories.