Skip to content
A cbor implementation of the go-ipld-format
Branch: master
Clone or download
Latest commit c084f45 May 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gx
encoding cbor: decode undefined as null Nov 30, 2018
test_objects switch to base32 by default May 13, 2019
.travis.yml gx: remove support May 13, 2019
LICENSE first hack Oct 24, 2016
Makefile first hack Oct 24, 2016
README.md
codecov.yml Disable comments Jul 1, 2017
go.mod switch to base32 by default May 13, 2019
go.sum switch to base32 by default May 13, 2019
node.go
node_test.go switch to base32 by default May 13, 2019
readable.go Added a utility function to decode a CBOR blob into a printable string ( Feb 22, 2019
refmt.go
wrap_test.go fix benchmarks Sep 12, 2018

README.md

go-ipld-cbor

Coverage Status Travis CI

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

You can’t perform that action at this time.