Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Collection ¶
func Collection(db, col string) *mongo.Collection
Collection returns a Collection type to the specific database
func Mongo ¶
func Mongo() context.CancelFunc
Mongo returns a context.CancelFunc and connects to the Mongo Database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.