We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 360f071 commit d18ed61Copy full SHA for d18ed61
Readme.md
@@ -13,11 +13,14 @@ This package provides the following features:
13
14
```bash
15
go get github.com/amitjangid80/go-mongodb-client@latest
16
+```
17
18
+## 📦 Usage
19
-import (
- "github.com/amitjangid80/go-mongodb-client/mongodb_client"
20
-)
+### You can add this in your main.go file or wherever you are setting up your db connection
21
+
22
+```go
23
+import "github.com/amitjangid80/go-mongodb-client/mongodb_client"
24
25
func main() {
26
mongodbConfig := mongodb_client.MongodbConfig{
@@ -30,3 +33,4 @@ func main() {
30
33
31
34
mongodb_client.ConnectDb(&mongodbConfig)
32
35
}
36
0 commit comments