Skip to content

Instantly share code, notes, and snippets.

@nictuku
Created July 3, 2018 23:56
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save nictuku/c9858a4fe2c7b92a01da2e635b7c147c to your computer and use it in GitHub Desktop.
Save nictuku/c9858a4fe2c7b92a01da2e635b7c147c to your computer and use it in GitHub Desktop.
All valid GOOS and GOARCH values
$ go tool dist list
android/386
android/amd64
android/arm
android/arm64
darwin/386
darwin/amd64
darwin/arm
darwin/arm64
dragonfly/amd64
freebsd/386
freebsd/amd64
freebsd/arm
linux/386
linux/amd64
linux/arm
linux/arm64
linux/mips
linux/mips64
linux/mips64le
linux/mipsle
linux/ppc64
linux/ppc64le
linux/s390x
nacl/386
nacl/amd64p32
nacl/arm
netbsd/386
netbsd/amd64
netbsd/arm
openbsd/386
openbsd/amd64
openbsd/arm
plan9/386
plan9/amd64
plan9/arm
solaris/amd64
windows/386
windows/amd64
$ go version
go version go1.10 darwin/amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment