Documentation ¶
Index ¶
Constants ¶
View Source
const ( CONNECTIONSTRING = "mongodb://localhost:27017" DB = "mr-grocery" ITEMS = "items" TEST = "test" )
I have used below constants just to hold required database config's.
Variables ¶
This section is empty.
Functions ¶
func GetMongoClient ¶
GetMongoClient - Return mongodb connection to work with
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.