diff --git a/mgo.go b/mgo.go index 53f9cd6..e96590b 100644 --- a/mgo.go +++ b/mgo.go @@ -62,6 +62,7 @@ func (c *MgoConnection) NewSession() Session { s.Close() } }) + return s } type MgoDatabase struct {