1
0
mirror of https://github.com/golang/go synced 2024-11-19 00:54:42 -07:00
go/internal/lsp/mod
Rohan Challa c4cbd3b08f internal/lsp: add diagnostics in .go files for missing deps in go.mod
This change adds diagnostics to imports in .go files that are missing the dependency in the go.mod file. The quick fix that adds the appropriate require statement is coming in a follow up CL.

Updates golang/go#31999

Change-Id: I314cdbe8e3dd27da744ca0391e7a6e5dc1ebaa77
Reviewed-on: https://go-review.googlesource.com/c/tools/+/216277
Run-TryBot: Rohan Challa <rohan@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-02-03 17:57:15 +00:00
..
testdata internal/lsp/mod: fix test that checks for unchanged go.mod 2020-01-29 23:28:05 +00:00
diagnostics.go internal/lsp: add diagnostics in .go files for missing deps in go.mod 2020-02-03 17:57:15 +00:00
mod_test.go internal/lsp: add diagnostics in .go files for missing deps in go.mod 2020-02-03 17:57:15 +00:00