debian-forge-composer/internal/jsondb
Lars Karlitski 17f4281648 jsondb: introduce a simple JSON database
weldr's store is quite complex and handled serialization itself. Move
that part out into a separate package `jsondb`.

This package is more generic than the store needs: it can write an
arbitrary amount of JSON documents while the store only needs one:
state.json. This is in preparation for future work, which introduces a
queue package that builds on top of `jsondb`.
2020-04-09 08:52:31 +02:00
..
db.go jsondb: introduce a simple JSON database 2020-04-09 08:52:31 +02:00
db_private_test.go jsondb: introduce a simple JSON database 2020-04-09 08:52:31 +02:00
db_test.go jsondb: introduce a simple JSON database 2020-04-09 08:52:31 +02:00