Add go.goos to the extension options · Issue #632 · microsoft/vscode-go

Currently the only way I've found to set GOOS for the Go tools in vscode is to set the environment before launching the editor - this doesn't work well if you have multiple workspaces that ...