proxy.golang.org : github.com/uncle-gua/badgerdb
Package badgerdb is an indexing and querying layer on top of a badger DB. The goal is to allow easy, persistent storage and retrieval of Go types. badgerDB is an embedded key-value store, and badgerdb serves a similar use case however with a higher-level interface for common uses of Badger. badgerdb deals directly with Go Types. When inserting data, you pass in your structure directly. When querying data you pass in a pointer to a slice of the type you want to return. By default, Gob encoding is used. You can put multiple different types into the same DB file and they (and their indexes) will be stored separately. badgerdb will automatically create an index for any struct fields tags with "badgerdbIndex" The first field specified in query will be used as the index (if one exists). Queries are chained together criteria that applies to a set of fields:
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/uncle-gua/badgerdb
License: MIT
Latest release: over 1 year ago
First release: over 1 year ago
Namespace: github.com/uncle-gua
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago