1
0
mirror of https://github.com/golang/go synced 2024-11-18 21:05:02 -07:00
go/internal/lsp/mod
Rohan Challa dd312ab63b internal/lsp: surface missing dependencies for imports not in go.mod
This change sets up the infrastructure to surface the dependencies that are missing in a go.mod file. In a follow up CL, we will use these to add diagnostics to the imports of .go files telling the user to add the dependency to their go.mod file.

Updates golang/go#31999

Change-Id: I697df0d7c6eabfdc2f0c75cb36aa35794647fd13
Reviewed-on: https://go-review.googlesource.com/c/tools/+/214700
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rohan Challa <rohan@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-01-27 22:30:17 +00:00
..
testdata internal/lsp: use x/mod to get edits for go.mod quick fixes 2020-01-23 20:18:34 +00:00
diagnostics.go internal/lsp: surface missing dependencies for imports not in go.mod 2020-01-27 22:30:17 +00:00
mod_test.go internal/lsp: eliminate redundant view.ModFile function 2020-01-23 22:07:07 +00:00