package
Version:
v0.0.0-...-98414d4
Opens a new window with list of versions in this module.
Published: Jan 18, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
ErrNotFound is an mgo.ErrNotFound
NewID returns a new hex-encoded ObjectID
NewObjectID returns an ObjectID
type Database struct {
*mgo.Database
}
Database object
Connect connects to the database
Close closes the database connection
ObjectID is a bson.ObjectId
Source Files
¶
Click to show internal directories.
Click to hide internal directories.