Documentation ¶
Index ¶
- Constants
- func Create(ft *Group) error
- func GetAll(loc string, opts *Options) (*model.Result, error)
- func GetByTags(tags []string, loc string, opts *Options) (*model.Result, error)
- func GetByText(q, loc string, opts *Options) (*model.Result, error)
- func Remove(id string) error
- func Replace(id string, fg *Group) error
- type Group
- type Options
Constants ¶
View Source
const Collection = "featureGroups"
Collection indicates the MongoDB feature group collection
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Group ¶
type Group struct { ID objectID `json:"_id" bson:"_id"` Name string `json:"name" bson:"name"` Description string `json:"description" bson:"description"` Tags []string `json:"tags" bson:"tags"` Location objectID `json:"_location" bson:"_location"` Modified timestamp `json:"_modified" bson:"_modified"` }
Group describes the entity of a feature group
Click to show internal directories.
Click to hide internal directories.