package
Version:
v0.0.0-...-310dcff
Opens a new window with list of versions in this module.
Published: Aug 28, 2017
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetMongoCollection(session *mgo.Session, name string) *mgo.Collection
func GetMongoSession() *mgo.Session
func Query(session *mgo.Session, query QueryDef) (interface{}, error)
type Command func(session *mgo.Session) (err error)
type QueryDef func(session *mgo.Session) (result interface{}, err error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.