Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Analyzer is an analyzer from staticcheck. Analyzer *analysis.Analyzer )
View Source
var Analyzers = func() map[string]*analysis.Analyzer { resMap := make(map[string]*analysis.Analyzer) for _, analyzers := range [][]*lint.Analyzer{ quickfix.Analyzers, simple.Analyzers, staticcheck.Analyzers, stylecheck.Analyzers, {unused.Analyzer}, } { for _, a := range analyzers { resMap[a.Analyzer.Name] = a.Analyzer } } return resMap }()
Analyzers is the analyzers of staticcheck.
Functions ¶
func FindAnalyzerByName ¶
FindAnalyzerByName finds the analyzer with the given name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.