Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: list all GOARCH/GOOS #27916
It's sometimes useful for tools to know about GOARCH/GOOS other than the current one. This information has to be collected from various sources, hardcoded, and manually kept up to date. It would be better if the go command could be queried to find out what the current information is.
Ideally, I'd like to see something roughly like the below, with the option to have it be output as json.