forked from TrueCloudLab/linters
14 lines
321 B
Go
14 lines
321 B
Go
package main
|
|
|
|
import (
|
|
noliteral "git.frostfs.info/TrueCloudLab/linters/internal/analyzers/noliteral"
|
|
"golang.org/x/tools/go/analysis"
|
|
)
|
|
|
|
var AnalyzerPlugin analyzerPlugin
|
|
|
|
type analyzerPlugin struct{}
|
|
|
|
func (*analyzerPlugin) GetAnalyzers() []*analysis.Analyzer {
|
|
return []*analysis.Analyzer{noliteral.LogsAnalyzer}
|
|
}
|