Go Build
go build linux binary on windows#
cmd:
set GOARCH=amd64
set GOOS=linux
go build
powershell:
$env:GOOS="linux"; go build
background excute on linux:
./binary &
cmd:
set GOARCH=amd64
set GOOS=linux
go build
powershell:
$env:GOOS="linux"; go build
background excute on linux:
./binary &