Documentation
¶
Overview ¶
Package errorfwrapv implements a Go analysis linter that flags calls to fmt.Errorf that format error arguments with %v instead of %w, which breaks error-chain inspection via errors.Is and errors.As.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "errorfwrapv", Doc: "reports fmt.Errorf calls that format error arguments with %v instead of %w", URL: "https://github.com/github/gh-aw/tree/main/pkg/linters/errorfwrapv", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, }
Analyzer is the errorfwrapv analysis pass.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.