打包Golang并在Android环境下运行

参考连接html 打包在android下的可执行程序linux 打包的代码以下,做用是输出运行的操做系统的信息:android func main() { fmt.Print("Go runs on ") switch os := runtime.GOOS; os { case "darwin": fmt.Println("OS X.") case
相关文章
相关标签/搜索