Skip to content

Instantly share code, notes, and snippets.

@bagus2x
Created September 17, 2020 16:42
Show Gist options
  • Save bagus2x/3b13ebdaf944c1c7fff90f0a1a2ad38e to your computer and use it in GitHub Desktop.
Save bagus2x/3b13ebdaf944c1c7fff90f0a1a2ad38e to your computer and use it in GitHub Desktop.
golang cross compile di windows
$env:GOOS = "linux"
go build -o bin/server server.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment