Documentation ¶
Overview ¶
Package errcheck implements an static analysis analyzer to ensure that errors are handled in go code. This analyzer was adapted from https://github.com/kisielk/errcheck (MIT License).
Index ¶
Constants ¶
View Source
const Doc = "This tool enforces all errors must be handled and that type assertions test that " +
"the type implements the given interface to prevent runtime panics."
Doc explaining the tool.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "errcheck", Doc: Doc, Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, }
Analyzer runs static analysis.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.