Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunGovulncheck ¶
func RunGovulncheck(ctx context.Context, pattern string, snapshot *cache.Snapshot, dir string, log io.Writer) (*vulncheck.Result, error)
RunGovulncheck implements the codelens "Run Govulncheck" that runs 'gopls vulncheck' and converts the output to gopls's internal data used for diagnostics and hover message construction.
TODO(rfindley): this should accept a *View (which exposes) Options, rather than a snapshot.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.