Documentation ¶
Index ¶
Constants ¶
View Source
const ( CONNECTION_STRING = "mongodb://localhost:27017/" DB_NAME = "friday" )
View Source
const MONGO_QUERY_TIMEOUT = 20 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoInstance ¶
func GetMongoInstance ¶
func GetMongoInstance() (*MongoInstance, error)
func New ¶
func New() (mongoInstance *MongoInstance, err error)
type MongoRepository ¶
type MongoRepository struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.