Table of Contents
Go - Build
Parameters
GOOS: the target operating system
GOARCH: the target architecture (x86_64 = amd64)
Example: Building for Linux
export GOOS=linux export GOARCH=amd64 go build
Documentation / Reference
https://golang.org/pkg/go/build/
syslist.go
GOOS and GOARCH values