Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorsAsAnalyzer = &analysis.Analyzer{ Name: "errorsAs", Doc: "reports illegal calls to errors.As and pkg/errors.As", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: runErrorsAs, }
ErrorsAsAnalyzer adapted from go/x/tools https://cs.opensource.google/go/x/tools/+/refs/tags/v0.14.0:go/analysis/passes/errorsas/errorsas.go
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.