mirror of https://github.com/golang/go.git
Generating go get quick fixes in a single place only made it harder to get them right. Do it during diagnostics generation, as is the new norm. Also improve the user experience. When we fail to import a package because one of its dependencies is missing, it makes more sense to run go get on the package we tried to import, not the one that's missing: that will download all of its missing dependencies if there happen to be more. Change-Id: Ib6a8140bccfafcb9f966d25639799dd4c7347c3d Reviewed-on: https://go-review.googlesource.com/c/tools/+/300072 Trust: Heschi Kreinick <heschi@google.com> Run-TryBot: Heschi Kreinick <heschi@google.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> |
||
|---|---|---|
| .. | ||
| analysis.go | ||
| cache.go | ||
| check.go | ||
| error_test.go | ||
| errors.go | ||
| imports.go | ||
| keys.go | ||
| load.go | ||
| mod.go | ||
| mod_tidy.go | ||
| os_darwin.go | ||
| os_windows.go | ||
| parse.go | ||
| parse_test.go | ||
| pkg.go | ||
| session.go | ||
| snapshot.go | ||
| view.go | ||
| view_test.go | ||
| workspace.go | ||
| workspace_test.go | ||