【发布时间】:2018-01-20 09:20:14
【问题描述】:
文档说应该支持它。 它似乎没有在 gen.go 文件中实现:
case types.Uint8: // types.Byte
return "uint8_t"
// TODO(crawshaw): case types.Uint, types.Uint16, types.Uint32, types.Uint64:
我读到我需要修补 go mobile 以支持 但是改文件支持Uint64后,(go/src/golang.org/x/mobile/bind/gen.go) 然后重新初始化 go mobile:gomobile init
同样的错误仍然出现,我在这里遗漏了一些明显的东西吗?
【问题讨论】:
-
您在哪里读到需要修补 Go Mobile?你遵循了哪个程序?请提供完整信息。