1
0
mirror of https://github.com/golang/go synced 2024-11-19 01:34:40 -07:00
go/internal/lsp/mod/testdata/unused
Rohan Challa de0b176007 internal/lsp: show dependency quick fixes for go.mod diagnostics
This change adds quickfixes for unused dependencies and dependencies that should not be marked as indirect. It also updates the positions for the diagnostics to make more sense relative to the warning message. There is a testing harness now for suggested fixes.

Updates golang/go#31999

Change-Id: I0db3382bf892fcc2d9ab3b633020d9167a0ad09b
Reviewed-on: https://go-review.googlesource.com/c/tools/+/213917
Run-TryBot: Rohan Challa <rohan@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-01-15 16:51:05 +00:00
..
go.mod internal/lsp: add warning diagnostics for unused dependencies in go.mod files 2020-01-09 20:05:13 +00:00
go.mod.golden internal/lsp: show dependency quick fixes for go.mod diagnostics 2020-01-15 16:51:05 +00:00
go.sum internal/lsp: add warning diagnostics for unused dependencies in go.mod files 2020-01-09 20:05:13 +00:00
main.go internal/lsp: add warning diagnostics for unused dependencies in go.mod files 2020-01-09 20:05:13 +00:00