Documentation ¶
Overview ¶
Package errwrap defines an Analyzer that rewrites error statements to use the new wrapping/unwrapping functionality
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "errwrap", Doc: "wrap errors in fmt.Errorf() calls with the %w verb directive", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, RunDespiteErrors: true, }
Analyzer of the linter
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.