go/gopls/internal/lsp/command
Hana (Hyang-Ah) Kim 4ce4f93a92 gopls/internal/lsp: add gopls.fetch_vulncheck_result
This CL changes the signature of View's Vulnerabilities
and SetVulnerabilities, to use govulncheck.Result
instead of []*govulncheck.Vuln. That allows us to hold
extra information about the analysis in addition to
the list of vulnerabilities.

Also, instead of aliasing x/vuln/exp/govulncheck.Result
define our own gopls/internal/govulncheck.Result type
so the gopls documentation is less confusing.

Change-Id: I7a18da9bf047b9ebed6fc0264b5e0f66c04ba3f3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/451696
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
2022-11-18 21:44:59 +00:00
..
commandmeta gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
gen gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
command_gen.go gopls/internal/lsp: add gopls.fetch_vulncheck_result 2022-11-18 21:44:59 +00:00
generate.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
interface.go gopls/internal/lsp: add gopls.fetch_vulncheck_result 2022-11-18 21:44:59 +00:00
interface_test.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
util.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00