Skip to content

daotl/go-datastore

 
 

Repository files navigation

go-datastore

DAOT Labs' fork of ipfs/go-datastore.

standard-readme compliant go.dev reference Build Status

key-value datastore interfaces

Lead Maintainer

Nex

Table of Contents

Background

Datastore is a generic layer of abstraction for data store and database access. It is a simple API with the aim to enable application development in a datastore-agnostic way, allowing datastores to be swapped seamlessly without changing application code. Thus, one can leverage different datastores with different strengths without committing the application to one datastore throughout its lifetime.

In addition, grouped datastores significantly simplify interesting data access patterns (such as caching and sharding).

This fork adds support for bytes-backed keys in addition to original string-backed keys, which could improve performance in some cases by preventing type conversion and reducing key size.

Based on datastore.py.

Install

go get github.com/daotl/go-datastore

Documentation

See API documentation.

Contribute

Feel free to join in. All welcome. Open an issue!

License

MIT

Copyright for portions of this fork are held by [Protocol Labs, 2016] as part of the original go-datastore project.

All other copyright for this fork are held by [DAOT Labs, 2020].

All rights reserved.

Packages

No packages published

Languages

  • Go 100.0%