hacker 1.使用命令 go env 可以查看env文件 go env 2..使用命令 go env -w GOOS=linux 修改linux go env -w GOOS=linux 3.使用命令 go build main.go 构建文件 go build main.go