Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ecnepsnai/ds
A key-value store with hash indexes
https://github.com/ecnepsnai/ds
go golang nosql
Last synced: about 1 month ago
JSON representation
A key-value store with hash indexes
- Host: GitHub
- URL: https://github.com/ecnepsnai/ds
- Owner: ecnepsnai
- License: mit
- Created: 2018-12-18T19:58:29.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-06-17T14:08:56.000Z (6 months ago)
- Last Synced: 2024-06-21T04:48:16.194Z (6 months ago)
- Topics: go, golang, nosql
- Language: Go
- Size: 218 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# DS
[![Go Report Card](https://goreportcard.com/badge/github.com/ecnepsnai/ds?style=flat-square)](https://goreportcard.com/report/github.com/ecnepsnai/ds)
[![Godoc](https://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://pkg.go.dev/github.com/ecnepsnai/ds)
[![Releases](https://img.shields.io/github/release/ecnepsnai/ds/all.svg?style=flat-square)](https://github.com/ecnepsnai/ds/releases)
[![LICENSE](https://img.shields.io/github/license/ecnepsnai/ds.svg?style=flat-square)](https://github.com/ecnepsnai/ds/blob/master/LICENSE)Package ds (short for "data store") is a key-value store with hash indexes. It allows for rudimentary but lightning fast
retrieval of grouped or relevant data without having to iterate over all objects in the store.Define the primary key, indexed keys, and unique keys as tags on struct fields, and DS takes care of the rest.
# Usage & Examples
Examples can be found on the [documentation for the library](https://pkg.go.dev/github.com/ecnepsnai/ds)