美文网首页
[gomobile]no exported names in t

[gomobile]no exported names in t

作者: 猎手Andy | 来源:发表于2018-07-18 18:01 被阅读0次

在使用gomobile编译go文件时提示:no exported names in the package "golang.org/x/mobile/example/bind/gogrpc"

原因是:
gogrpc.go需要有个输出的函数,而输出的函数必须是大写字母开头命名。

相关文章

网友评论

      本文标题:[gomobile]no exported names in t

      本文链接:https://www.haomeiwen.com/subject/tilapftx.html