Closed hsanjuan closed 7 years ago
The Cid-Type fields are unexported:
https://github.com/ipfs/go-cid/blob/master/cid.go#L46
This means that Cids need to be stringified/jsonified etc. when serialized (encoded/decoded) and re-decoded when deserialized.
What do people think of exporting those fields?
See #16
The Cid-Type fields are unexported:
https://github.com/ipfs/go-cid/blob/master/cid.go#L46
This means that Cids need to be stringified/jsonified etc. when serialized (encoded/decoded) and re-decoded when deserialized.
What do people think of exporting those fields?