Documentation ¶
Overview ¶
Code generated by goctl. DO NOT EDIT.
Code generated by goctl. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = mon.ErrNotFound ErrInvalidObjectId = errors.New("invalid objectId") )
Functions ¶
This section is empty.
Types ¶
type ObjectModel ¶
type ObjectModel interface {
// contains filtered or unexported methods
}
ObjectModel is an interface to be customized, add more methods here, and implement the added methods in customObjectModel.
func NewObjectModel ¶
func NewObjectModel(url, db, collection string) ObjectModel
NewObjectModel returns a model for the mongo.
type Playground ¶
type PlaygroundModel ¶
type PlaygroundModel interface {
// contains filtered or unexported methods
}
PlaygroundModel is an interface to be customized, add more methods here, and implement the added methods in customPlaygroundModel.
func NewPlaygroundModel ¶
func NewPlaygroundModel(url, db, collection string) PlaygroundModel
NewPlaygroundModel returns a model for the mongo.
Click to show internal directories.
Click to hide internal directories.