ipfs / go-cid

Content ID v1 implemented in go
MIT License
157 stars 47 forks source link

StringOfBase function #19

Closed Kubuxu closed 7 years ago

Kubuxu commented 7 years ago

Currently String() function returns base58 encoded cid. It would be very nice to have function that allows for any encoding. It should error out in case of version 0 cid.