golang 交叉编译

SET GOOS=linux /darwin /windows
SET GOARCH=amd64
go build test.go

你可能感兴趣的:(golang 交叉编译)