Data store based on ipfs merkle-dag
go get github.com/CUIT-CBI/dag-store
Create or open a store instance:
store := dagstore.New(".data")
defer store.Close()
Add data and get its cid
c, err := store.Add(context.Background(), file)
Get data from the store
writerTo, err := store.Get(context.Background(), c)