Skip to content

Instantly share code, notes, and snippets.

@fgggid
Created November 23, 2016 13:54
Show Gist options
  • Save fgggid/097283f7d5794982830ae7b98ad283d6 to your computer and use it in GitHub Desktop.
Save fgggid/097283f7d5794982830ae7b98ad283d6 to your computer and use it in GitHub Desktop.
Some cmds for go build
CGO_ENABLED=0 GOPATH=~/_prjs/go go build
CGO_ENABLED=0 GOPATH=~/_prjs/go go clean
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 GOPATH=~/_prjs/go go build
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 GOPATH=~/_prjs/go go clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment