- It's a guideline of how to use Mongodb with Golang using the repository pattern.
- You must install mongodb driver for golang by running:
go get go.mongodb.org/mongo-driver/mongo
- You must run mongodb, for instance Macos users can run:
brew services start mongodb-community
- The last thing is to test the app by running:
go run *.go