Documentation
¶
Overview ¶
Package sprintferrorsnew implements a Go analysis linter that flags errors.New(fmt.Sprintf(...)) calls that should use fmt.Errorf instead.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "sprintferrorsnew", Doc: "reports errors.New(fmt.Sprintf(...)) calls that should use fmt.Errorf instead", URL: "https://github.com/github/gh-aw/tree/main/pkg/linters/sprintferrorsnew", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, }
Analyzer is the sprintferrorsnew analysis pass.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.