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
The gomobile docs say it supports
Any function type all of whose parameters and results have supported types.
I think this is incorrect: gomobile does not support code like the following
type S struct { X int } type I interface { ReadS(s S) }
Specifically, it does not appear to support passing a struct by value to a function. (Passing an interface, or a pointer to the struct, is supported.)
Please update the docs to reflect this limitation.
The text was updated successfully, but these errors were encountered:
/cc @hyangah @eliasnaur
Successfully merging a pull request may close this issue.
The gomobile docs say it supports
I think this is incorrect: gomobile does not support code like the following
Specifically, it does not appear to support passing a struct by value to a function. (Passing an interface, or a pointer to the struct, is supported.)
Please update the docs to reflect this limitation.
The text was updated successfully, but these errors were encountered: