Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MgoSession *mgo.Session MGO_URL = "" MGO_DB = "" )
Functions ¶
func GetSession ¶
func GetSession() *mgo.Session
func WitchCollection ¶
公共方法,获取collection对象
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.