Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Client *mongo.Client
View Source
var Collection *mongo.Collection
Assume you have a collection named "products"
Functions ¶
func InitCollections ¶
func InitCollections()
func InitMongoDB ¶
func InitMongoDB(uri string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.