# README
Wrapped MongoDB Operator
Installation
Install module
# specific version
go get go get github.com/QFO6/[email protected]
# latest version of a branch
go get github.com/QFO6/rev-mongo@<branch_name>
# Functions
Collection conduct mgo.Collection.
MgoDBConnect do mgo connection.
App Init setup mgo connection.
MgoControllerInit should be put in controller init function.
New create a *Do with pre-defined DBName.
NewConnect return mgo.Session for manual input mongodb information.
NewDo initiate with input model and mgo session.
No description provided by the author
New with C, with collection Name for collection name diff with model name.
# Variables
learn from leanote, put all db actions in one file.
learn from leanote, put all db actions in one file.
ObjectIDBinder do binding.
learn from leanote, put all db actions in one file.