Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let Cid implement Binary[Un]Marshaler and Text[Un]Marshaler interfaces. #81

Merged
merged 1 commit into from
Feb 20, 2019

Commits on Feb 19, 2019

  1. Let Cid implement Binary[Un]Marshaler and Text[Un]Marshaler interfaces.

    This makes Cid implement https://golang.org/pkg/encoding/#BinaryMarshaler
    which is used by go-codec to decide if things know how to serialize themselves
    (currently we need do manual wrapping for anything containing a CID).
    
    Since I was at it, I did the TextMarshaling one too.
    hsanjuan committed Feb 19, 2019
    Configuration menu
    Copy the full SHA
    0043957 View commit details
    Browse the repository at this point in the history