package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: May 27, 2017
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package mongo realizes connection to database.
func Collection(session *mgo.Session, db string, collection string) *mgo.Collection
Collection returns a value representing the named collection.
func Connect(host string, mode mgo.Mode) (*mgo.Session, error)
Connect to MongoDB host with given connection mode
Source Files
¶
Directories
¶
Package expr encapsulates operations of aggregation framework.
|
Package expr encapsulates operations of aggregation framework. |
Click to show internal directories.
Click to hide internal directories.