Documentation ¶
Index ¶
Constants ¶
View Source
const (
CollectionGopher = "gophers"
)
Variables ¶
This section is empty.
Functions ¶
func GetMongoDb ¶
Types ¶
type GopherMongoDao ¶
type GopherMongoDao struct {
GetDb MongoDbProvider
}
func (GopherMongoDao) Die ¶
func (g GopherMongoDao) Die(gopherId string) error
type MongoDbProvider ¶
type MongoDbProvider func() (*mgo.Session, *mgo.Database, error)
Click to show internal directories.
Click to hide internal directories.