Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *mongo.Client = ConnectDB()
Client instance
Functions ¶
func EnvMongoURI ¶
func EnvMongoURI() string
func GetCollection ¶
func GetCollection(client *mongo.Client, collectionName string) *mongo.Collection
getting database collections
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.