Erik Arvidsson 7d4e2df45d Add types.Enum
This is needed to be able to round trip enums.

If there is no codegen for an enum that is read from the datastore we
now return a types.Enum which can be serialized back to the same
sequence.
2015-11-04 16:40:07 -05:00
2015-10-23 13:28:29 -07:00
2015-09-29 13:12:26 -04:00
2015-11-03 22:23:26 -08:00
2015-11-04 16:40:07 -05:00
2015-11-04 16:40:07 -05:00
2015-10-30 09:24:58 -07:00
2015-10-30 09:16:01 -07:00

Noms

Noms is a content-addressable, immutable, peer-to-peer datastore for structured data.

In other words, noms is git for data.

This repository will contain the reference implementation of the noms protocol, and will eventually be open sourced.

This includes:

  • Go wrappers for all the core noms types
  • Support for generating Go types from Nom schema definitions
  • Chunking and dechunking
  • Serialization and deserialization
  • Chunkstore interface as well as several sample implementations
  • Search support
  • Sample applications

Get the code

git clone https://github.com/attic-labs/noms

Build

go build ./...
go test ./...

Run

cd <noms>/clients/counter
go build
./counter -ldb=/tmp/foo -ds=foo
./counter -ldb=/tmp/foo -ds=foo
./counter -ldb=/tmp/foo -ds=foo

rejoice!

You can see the raw data:

ls /tmp/foo
cat /tmp/foo/*.log | strings

You can also explore the data visually. Follow the instructions in clients/explore.

Description
Dolt – Git for Data
Readme Apache-2.0 368 MiB
Latest
2026-01-29 19:13:28 -06:00
Languages
Go 84%
Shell 15.1%
JavaScript 0.3%
Java 0.1%