Skip to content

pip-services3-go/pip-services3-data-go

Repository files navigation

Pip.Services Logo
Persistence components for Golang

This module is a part of the Pip.Services polyglot microservices toolkit. It contains generic interfaces for data access components as well as abstract implementations for in-memory and file persistence.

The persistence components come in two kinds. The first kind is a basic persistence that can work with any object types and provides only minimal set of operations. The second kind is so called "identifieable" persistence with works with "identifable" data objects, i.e. objects that have unique ID field. The identifiable persistence provides a full set or CRUD operations that covers most common cases.

The module contains the following packages:

  • Persistence - in-memory and file persistence components, as well as JSON persister class.

Quick links:

Use

Get the package from the Github repository:

go get -u github.com/pip-services3-go/pip-services3-data-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