https://github.com/opentable/hy
Store struct data in files.
https://github.com/opentable/hy
Last synced: about 1 year ago
JSON representation
Store struct data in files.
- Host: GitHub
- URL: https://github.com/opentable/hy
- Owner: opentable
- License: mit
- Created: 2016-08-12T15:13:37.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-20T15:25:43.000Z (almost 10 years ago)
- Last Synced: 2025-01-28T23:09:50.949Z (over 1 year ago)
- Language: Go
- Size: 200 KB
- Stars: 0
- Watchers: 19
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hy: hierarchical files
[](https://circleci.com/gh/opentable/hy)
[](https://codecov.io/gh/opentable/hy)
[](https://goreportcard.com/report/github.com/opentable/hy)
[](https://godoc.org/github.com/opentable/hy)
[](LICENSE)
## TODO
- Improve memory efficiency (currently loads everything eagerly in-memory, should use readers and (de)coders rather than []byte and marshalers).
- Add test cases for all failure modes.
- Attempt to specify a directory for a struct field.
- SpecialMap has wrong method signatures.
- Make analysis concurrent.
- Make writing concurrent.
- Make reading concurrent.
- Add options for default path names:
- lowerCamelCase
- CamelCase
- snake_case
- lowercaseonly
- On write, need to pick:
- Fail if ID field not matching key or index?
- Overwrite ID with current key or index?
- Elide ID field from output altogether? (This should be the default, so
it only matters in memory.)
- Other?