func Setup() (*mgo.Session, error) {
	session, err := mgo.Dial("localhost")
	if err != nil {
		return nil, err
	}
	return session, nil
}
Setup initializes a redis client
package mongodb
import mgo "gopkg.in/mgo.v2"