persistence

package module
v1.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 1 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package persistence contains interfaces for various design patterns that work with data.
Package persistence contains interfaces for various design patterns that work with data.
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL