mirror of https://github.com/golang/go.git
Instead of invoking the command through the LSP custom command, call the vulncheck command hook directly. That reduces the extra overhead of bringing up the full gopls server & package loading. The vulncheck hook loads packages again any way, so the benefit of running the check inside gopls's custom command framework is not huge any more. Still `gopls vulncheck` is useful - editors don't need to install another binary for vulncheck feature, and it will output the result in the format easier to handle than what `govulncheck` currently offers. Updates golang/go#50577 Change-Id: Ia21e6d7e0c37c4a1b02dc8bbca860143524c3d1b Reviewed-on: https://go-review.googlesource.com/c/tools/+/404574 Reviewed-by: Robert Findley <rfindley@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> |
||
|---|---|---|
| .. | ||
| api-json.hlp | ||
| bug.hlp | ||
| call_hierarchy.hlp | ||
| check.hlp | ||
| definition.hlp | ||
| fix.hlp | ||
| folding_ranges.hlp | ||
| format.hlp | ||
| help.hlp | ||
| highlight.hlp | ||
| implementation.hlp | ||
| imports.hlp | ||
| inspect.hlp | ||
| licenses.hlp | ||
| links.hlp | ||
| prepare_rename.hlp | ||
| references.hlp | ||
| remote.hlp | ||
| rename.hlp | ||
| semtok.hlp | ||
| serve.hlp | ||
| signature.hlp | ||
| symbols.hlp | ||
| usage.hlp | ||
| version.hlp | ||
| vulncheck.hlp | ||
| workspace.hlp | ||
| workspace_symbol.hlp | ||