linters/main.go
Alexander Chuprov df29d08821 [#5] linters: refactoring
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2023-07-31 12:59:51 +03:00

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}
}