go/gopls/internal/lsp/mod
Hana (Hyang-Ah) Kim 004d1181ca gopls/internal/lsp/mod: simplify ModVulnerabilityDiagnostics
Classify the unaffecting/affecting vulnerabilities as we
iterate over the vulnerabilities to generate info/warning
level diagnostics, instead of iterating over the list twice.

Change-Id: Icfac41c3897d443c368f0292279ca936daffe24e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/448978
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
2022-11-11 00:41:33 +00:00
..
testdata/unchanged gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
code_lens.go gopls/internal/span: some cleanups 2022-10-13 13:15:27 +00:00
diagnostics.go gopls/internal/lsp/mod: simplify ModVulnerabilityDiagnostics 2022-11-11 00:41:33 +00:00
format.go internal/diff: simplify API, break span dependency 2022-10-05 20:32:15 +00:00
hover.go gopls: sync golang.org/x/vuln@3af8368ee4fe 2022-11-10 23:14:17 +00:00
mod_test.go gopls/internal/span: move internal/span into gopls 2022-10-07 14:50:44 +00:00