Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = SCAnalyzer.Analyzer
View Source
var SCAnalyzer = lint.InitializeAnalyzer(&lint.Analyzer{ Analyzer: &analysis.Analyzer{ Name: "SA1100", Run: run, Requires: []*analysis.Analyzer{}, }, Doc: &lint.RawDocumentation{ Title: "log.Fatalf should not be called in package not named `main`", Text: `log.Fatalf calls os.Exit(1) which is unexpected in packages not named 'main'`, Since: "Unreleased", Severity: lint.SeverityWarning, }, })
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.