Documentation ¶
Overview ¶
Package nopanic implements an analyzer that checks if somewhere in the source, there is a panic.
Index ¶
Constants ¶
View Source
const Doc = "check if there is any panic in the code"
Doc is the documentation string that is shown on the command line if help is requested.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "nopanic", Doc: Doc, Run: run, Requires: []*analysis.Analyzer{ inspect.Analyzer, }, }
Analyzer implements the analyzer that checks for panics.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.