To easier write tooling for cross compiling it would be good to programmatically get the possible combinations of GOOS and GOARCH.
The only reference I can find is at http://golang.org/doc/install/source#environment
In addition, go help environmentonly gives examples; andgo help build and go help installdoes not mention GOOS and GOARCH.
To easier write tooling for cross compiling it would be good to programmatically get the possible combinations of GOOS and GOARCH.
The only reference I can find is at http://golang.org/doc/install/source#environment
In addition,
go help environmentonly gives examples; andgo help buildandgo help installdoes not mention GOOS and GOARCH.