go/gopls/internal/regtest
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
..
bench gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
codelens gopls: add codelens to reset upgrade diagnostics 2022-09-12 15:41:56 +00:00
completion gopls/internal: support renaming packages with int. test variants 2022-10-20 17:36:38 +00:00
debug gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
diagnostics internal/lsp/cache: remove support for invalid metadata 2022-11-18 17:16:01 +00:00
inlayhints gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
misc gopls/internal/lsp: add gopls.fetch_vulncheck_result 2022-11-18 21:44:59 +00:00
modfile gopls/internal/regtest: make AfterChange do the awaiting 2022-11-15 16:13:28 +00:00
template gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
watch gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
workspace gopls/internal/regtest: make AfterChange do the awaiting 2022-11-15 16:13:28 +00:00