GO打包命令

GO打包命令 #

windows打包命令

go env -w CGO_ENABLED=0 GOOS=windows GOARCH=amd64

linux打包命令

go env -w CGO_ENABLED=0 GOOS=linux GOARCH=amd64