Documentation ¶
Index ¶
Constants ¶
View Source
const ( AnalyzerName = "nopanic" AnalyzerDoc = "Reports instances where program is terminated in places other then `main` package." )
View Source
const ( FlagAllowPanicMainFunc = "allow-panic-main-func" FlagAllowPanicMainPackage = "allow-panic-main-package" FlagAllowExitMainFunc = "allow-exit-main-func" FlagAllowExitMainPackage = "allow-exit-main-package" )
Variables ¶
This section is empty.
Functions ¶
func NewAnalyzer ¶
Types ¶
type AnalyzerSettings ¶ added in v1.0.1
type CallExprCheckFn ¶
Click to show internal directories.
Click to hide internal directories.