Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Client = DBInstance()
Client instantiate a Database instance
View Source
var (
DB_NAME = "axxxe"
)
Functions ¶
func DBInstance ¶
func OpenCollection ¶
func OpenCollection(client *mongo.Client, collectionName string) *mongo.Collection
OpenCollection open a MongoDB collection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.