Skip to main content

编译示例

Linux

SET CGO_ENABLED=0
SET GOOS=linux
SET GOARCH=amd64
go build

Windows

SET CGO_ENABLED=0
SET GOOS=windows
SET GOARCH=amd64
go build