1
0
mirror of https://github.com/golang/go synced 2024-09-30 20:28:32 -06:00
go/internal/lsp/testdata/unused
Rebecca Stambler c05a0f5be4 internal/lsp/cache: refactor go mod tidy error logic
This CL is mostly a refactoring of the logic to compute errors for
`go mod tidy` diagnostics. It had been getting a little confusing, so
hopefully this makes things easier to read.

I made a few other small changes, such as slightly changing a few error
messages and showing diagnostics in the go.mod file for all missing
modules.

Change-Id: Ia8cf580731b997248591a2d64dff133accd9c5aa
Reviewed-on: https://go-review.googlesource.com/c/tools/+/244610
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-08-07 22:43:23 +00:00
..
modules/example.com/extramodule/pkg go/packages/packagestest: do not overwrite existing go.mod file 2020-02-06 15:23:23 +00:00
primarymod internal/lsp/cache: refactor go mod tidy error logic 2020-08-07 22:43:23 +00:00
summary.txt.golden internal: add call hierarchy cmd and lsp scaffolding 2020-08-07 20:22:52 +00:00