Documentation
¶
Index ¶
Constants ¶
View Source
const ( DB = "upvotes" COLLECTION = "exchanges" )
Variables ¶
This section is empty.
Functions ¶
func GetCollection ¶
func GetCollection(collectionName *string) (*mongo.Collection, error)
getting database collections
func GetMongoClient ¶
GetMongoClient - Return mongodb connection to work with
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.