Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCollection ¶
func GetCollection(ctx context.Context, collection string, s func(interfaces.Collection) error) error
GetCollection returns a collection from the database
func GetMongoSession ¶
func GetMongoSession() (interfaces.MongoDB, error)
GetMongoSession returns a MongoSession
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.