Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection interface {
Where()
}
type Mongo ¶
type Mongo struct { DBClient *mongo.Client Sess mongo.Session // contains filtered or unexported fields }
func (*Mongo) Collection ¶
func (m *Mongo) Collection(collName string) *mongo.Collection
func (*Mongo) Collections ¶
func (m *Mongo) Collections(collName string) Collection
func (*Mongo) GetIdGenerator ¶
Click to show internal directories.
Click to hide internal directories.