3 ms·
Gaah, I thought this will provide me with some motivation to try writing some Go code but can't even get started with installing the analysis tools - cannot fin
by blinkingled 11y ago
Gaah, I thought this will provide me with some motivation to try writing some Go code but can't even get started with installing the analysis tools - cannot find package "golang.org/x/tools/go/types". Anyway will debug that one later but if anyone has a hint, go ahead.
- lukehoban 11y agoIf the automated install of the analysis tools doesn't work, you can always just manually install them into your GOPATH. See https://github.com/Microsoft/vscode-go#tools https://github.com/Microsoft/vscode-go#tools.
- blinkingled 11y agoThanks, but manual install fails with same error for golint and goreturns. I ended up git cloning into my %GOPATH%\src\golang.org\x from https://go.googlesource.com/tools https://go.googlesource.com/tools and https://go.googlesource.com/net https://go.googlesource.com/net - that seems to have fixed it.