x/mobile/cmd/gobind: non-pointer struct types not supported in parameter or return values #27691
Labels
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
I attempted to use the
gobind
tool to generate code for the following example package:What did you expect to see?
I would expect to see the method
DoSomething
available in the generated code.What did you see instead?
The function gets skipped due to an invalid parameter type:
The binding works, however, if
DoSomething
is updated to take a pointer toParam
.The text was updated successfully, but these errors were encountered: