36533f7c3f
Fixes for new geth version
1.4 KiB
1.4 KiB
go-ipld-cbor
An implementation of a cbor encoded merkledag object.
Table of Contents
Install
make install
Usage
TODO: Right now this package isn't the easiest to use, it will be getting better rapidly, soon.
// Make an object
obj := map[interface{}]interface{}{
"foo": "bar",
"baz": &Link{
Target: myCid,
},
}
// Parse it into an ipldcbor node
nd, err := WrapMap(obj)
fmt.Println(nd.Links())
Contribute
PRs are welcome!
Small note: If editing the Readme, please conform to the standard-readme specification.
License
MIT © Jeromy Johnson