Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateFilters ¶
Types ¶
type Article ¶
type Article struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"id"` Title string `bson:"title" json:"title"` Content string `bson:"content,omitempty" json:"content"` Tags []string `bson:"tags,omitempty" json:"tags"` Author string `bson:"author" json:"author"` Status string `bson:"status" json:"status"` Created time.Time `bson:"created" json:"created"` Updated time.Time `bson:"updated,omitempty" json:"updated,omitempty"` Version int `bson:"version" json:"version"` }
type Filters ¶
func (Filters) SortDirection ¶
Click to show internal directories.
Click to hide internal directories.