We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://golang.org/pkg/encoding/gob/#Encoder.Encode says,
Passing a nil pointer to Encoder will panic, as they cannot be transmitted by gob.
But it does not. See: https://play.golang.org/p/9zffEMP_DQU
Same with https://golang.org/pkg/encoding/gob/#Encoder.EncodeValue.
We're working on yet another encoding library (this one handles Golang interfaces well) for Tendermint and found this discrepancy.
@odeke-em
The text was updated successfully, but these errors were encountered:
Nevermind, bad example, no bug.
Sorry, something went wrong.
Ahh right, sorry about that @jaekwon -- the docs are right as you noted later on before closing.
No branches or pull requests
https://golang.org/pkg/encoding/gob/#Encoder.Encode says,
But it does not. See: https://play.golang.org/p/9zffEMP_DQU
Same with https://golang.org/pkg/encoding/gob/#Encoder.EncodeValue.
We're working on yet another encoding library (this one handles Golang interfaces well) for Tendermint and found this discrepancy.
@odeke-em
The text was updated successfully, but these errors were encountered: