Skip to content

Commit d18ed61

Browse files
author
Amit
committed
updated readme.md file
1 parent 360f071 commit d18ed61

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Readme.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,14 @@ This package provides the following features:
1313

1414
```bash
1515
go get github.com/amitjangid80/go-mongodb-client@latest
16+
```
1617

18+
## 📦 Usage
1719

18-
import (
19-
"github.com/amitjangid80/go-mongodb-client/mongodb_client"
20-
)
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"
2124

2225
func main() {
2326
mongodbConfig := mongodb_client.MongodbConfig{
@@ -30,3 +33,4 @@ func main() {
3033

3134
mongodb_client.ConnectDb(&mongodbConfig)
3235
}
36+
```

0 commit comments

Comments
 (0)