replace mongo driver

pull/137/head
wenxu12345 4 years ago committed by Pi
parent 500de1fd73
commit 520586a4b7

@ -65,7 +65,7 @@ func init() {
Password: config.Config.Mongo.DBPassword, Password: config.Config.Mongo.DBPassword,
PoolLimit: config.Config.Mongo.DBMaxPoolSize, PoolLimit: config.Config.Mongo.DBMaxPoolSize,
} }
mgoSession, err = mgo.DialWithInfo(mgoDailInfo) mgoSession, err := mgo.DialWithInfo(mgoDailInfo)
if err != nil { if err != nil {

Loading…
Cancel
Save