Mrkouhadi / go-mongodb-repository-pattern

It's a guideline of how to use Mongodb with Golang using the repository pattern.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

description:

  • It's a guideline of how to use Mongodb with Golang using the repository pattern.

Helpful instructions

  • 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

About

It's a guideline of how to use Mongodb with Golang using the repository pattern.


Languages

Language:Go 100.0%