func ParseDiagnostics(ctx context.Context, snapshot *cache.Snapshot) (map[protocol.DocumentURI][]*cache.Diagnostic, error) { … }
func TidyDiagnostics(ctx context.Context, snapshot *cache.Snapshot) (map[protocol.DocumentURI][]*cache.Diagnostic, error) { … }
func UpgradeDiagnostics(ctx context.Context, snapshot *cache.Snapshot) (map[protocol.DocumentURI][]*cache.Diagnostic, error) { … }
func VulnerabilityDiagnostics(ctx context.Context, snapshot *cache.Snapshot) (map[protocol.DocumentURI][]*cache.Diagnostic, error) { … }
func collectDiagnostics(ctx context.Context, snapshot *cache.Snapshot, diagFn func(context.Context, *cache.Snapshot, file.Handle) ([]*cache.Diagnostic, error)) (map[protocol.DocumentURI][]*cache.Diagnostic, error) { … }
func parseDiagnostics(ctx context.Context, snapshot *cache.Snapshot, fh file.Handle) (diagnostics []*cache.Diagnostic, err error) { … }
func tidyDiagnostics(ctx context.Context, snapshot *cache.Snapshot, fh file.Handle) ([]*cache.Diagnostic, error) { … }
func upgradeDiagnostics(ctx context.Context, snapshot *cache.Snapshot, fh file.Handle) (upgradeDiagnostics []*cache.Diagnostic, err error) { … }
const upgradeCodeActionPrefix …
func vulnerabilityDiagnostics(ctx context.Context, snapshot *cache.Snapshot, fh file.Handle) (vulnDiagnostics []*cache.Diagnostic, err error) { … }
type vulnFindingType …
const vulnUnknown …
const vulnCalled …
const vulnImported …
const vulnRequired …
func foundVuln(finding *govulncheck.Finding) (*govulncheck.Frame, vulnFindingType) { … }
func sortedKeys(m map[string]bool) []string { … }
func suggestGovulncheckAction(fromGovulncheck bool, uri protocol.DocumentURI) (cache.SuggestedFix, error) { … }
func getVulnMessage(mod string, vulns []string, used, fromGovulncheck bool) string { … }
func href(vulnID string) string { … }
func getUpgradeCodeAction(fh file.Handle, req *modfile.Require, version string) *protocol.Command { … }
func upgradeTitle(fixedVersion string) string { … }
func SelectUpgradeCodeActions(actions []protocol.CodeAction) []protocol.CodeAction { … }
func getUpgradeVersion(p protocol.CodeAction) string { … }