scan

package
v0.16.2-pre.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(ctx context.Context, args ...string) error

Main implements gopls vulncheck.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL