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

Add an option to keep old behavior of union/structs using pointers #201

Open
nick4fake opened this issue Nov 29, 2022 · 0 comments
Open

Comments

@nick4fake
Copy link

nick4fake commented Nov 29, 2022

Hi,

What do you think about adding possibility to keep using pointers? I don't see any relevant tickets or documentation.

I am talking about this change:
ecdb974

Passing structs requires copying, and using generated "*New" methods is quite difficult as getting pointer to structure requires creating a separate variable each time as go doesn't allow getting reference to return result.

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

1 participant