valerror

package
v0.0.0-...-e5a8724 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package findcall defines an Analyzer that serves as a trivial example and test of the Analysis API. It reports a diagnostic for every call to a function or method of the name specified by its -name flag. It also exports a fact for each declaration that matches the name, plus a package-level fact if the package contained one or more such declarations.

Index

Constants

View Source
const Doc = `find calls to a particular function

The findcall analysis reports calls to functions or methods
of a particular name.`

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:             "error_linter",
	Doc:              Doc,
	URL:              "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/findcall",
	Run:              run,
	RunDespiteErrors: true,
	FactTypes:        []analysis.Fact{},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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