Skip to content

pip-services3-go/pip-services3-mongodb-go

Repository files navigation

Pip.Services Logo
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-go/pip-services3-mongodb-go@latest

Develop

For development you shall install the following prerequisites:

  • Golang v1.12+
  • 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

Contacts

The Golang version of Pip.Services is created and maintained by:

  • Levichev Dmitry
  • Sergey Seroukhov

The documentation is written by:

  • Levichev Dmitry