linters/main.go
Alexander Chuprov df29d08821
All checks were successful
Tests and linters / Lint (pull_request) Successful in 1m19s
Tests and linters / Tests (pull_request) Successful in 1m58s
Tests and linters / Build lib (pull_request) Successful in 2m17s
Tests and linters / Staticcheck (pull_request) Successful in 1m7s
[#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}
}