golang中不常用命令

来源:互联网 发布:ubuntu ssh安装 编辑:程序博客网 时间:2024/05/17 00:18

编译Linux版本的应用程序命令:

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build

原创粉丝点击