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

Go: make EncodeTo() generation consistent with DecodeFrom() #74

Open
2opremio opened this issue Nov 15, 2021 · 0 comments
Open

Go: make EncodeTo() generation consistent with DecodeFrom() #74

2opremio opened this issue Nov 15, 2021 · 0 comments

Comments

@2opremio
Copy link
Contributor

  • Method receiver names in DecodeFrom (u for unions, e for enums etc ...) are consistent, while not in EncodeTo
  • DecodeFrom provides context when returning errors (indicating the name of the type), while EncodeFrom doesn't
  • DecodeFrom uses the decoderFrom interface while EncodeTo uses the xdrType interface.
@leighmcculloch leighmcculloch removed their assignment Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants