You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hyangah
changed the title
x/mobile/cmd/gobind: gobind does not generate exported symbols which are in embedded structure
x/mobile/bind: gobind does not generate exported symbols which are in embedded structure
Jan 15, 2016
Hi hyangah:
Tried your workaround, but another issue has appeared:
It seems that the embedded type should be located at the same package with B ?
error message:
gomobile: type gaia/app.WSClient not defined in package client ("gaia/app/revenge/client")
type gaia/app.WSClient not defined in package client ("gaia/app/revenge/client")
Instead I could use another workaround to solve this issue, although it is not so convenient,
but A and B could be located at different packages.
Given A and B type as below, but gobind does not generate the exported "Connect()" in A's proxy(java).
type B struct {
A
}
func NewB() *B{
return &B{}
}
type A struct {
}
func (a A) Connect() {
}
The text was updated successfully, but these errors were encountered: