MongoDB components for Golang
This module is a part of the Pip.Services polyglot microservices toolkit. It provides a set of components to implement MongoDB persistence.
Client was based on official mongodb go driver
Official docs for MongoDb Go driver
The module contains the following packages:
- Build - Factory to create MongoDB persistence components.
- Connect - Connection component to configure MongoDB connection to database.
- Persistence - abstract persistence components to perform basic CRUD operations.
Quick links:
Use
Get the package from the Github repository:
go get -u github.com/pip-services3-gox/pip-services3-mongodb-gox@latest
Develop
For development you shall install the following prerequisites:
- Golang v1.18+
- Visual Studio Code or another IDE of your choice
- Docker
- Git
Run automated tests:
go test -v ./test/...
Generate API documentation:
./docgen.ps1
Before committing changes run dockerized test as:
./test.ps1
./clear.ps1
The Golang version of Pip.Services is created and maintained by:
- Levichev Dmitry
- Sergey Seroukhov
- Dmitry Uzdemir
The documentation is written by: