ipfs / go-ipld-format

IPLD Node and Resolver interfaces in Go
https://github.com/ipld/ipld
MIT License
64 stars 26 forks source link

Initialize the DefaultBlockDecoder map #19

Closed Stebalien closed 7 years ago

Stebalien commented 7 years ago

Also, add some nice test cases.

Stebalien commented 7 years ago

Hmm. I should test these things first, apparently, map[KeyType]ValueType{} is equivalent to make(map[KeyType]ValueType)?