GOOS + GOARCH combinations

mihalis's picture

If you want to see all valid OS/architecture pairs in Go, you should execute the following command:

$ go tool dist list

The output will be like the following:

aix/ppc64
android/386
android/amd64
...

(The GOOS value is first and the GOARCH value is second)

Tags: