Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (16 sloc) 369 Bytes
// +build go1.12
package main
import (
"github.com/gostaticanalysis/sqlrows/passes/sqlrows"
"golang.org/x/tools/go/analysis"
"golang.org/x/tools/go/analysis/unitchecker"
)
// Analyzers returns analyzers of bodyclose.
func analyzers() []*analysis.Analyzer {
return []*analysis.Analyzer{
sqlrows.Analyzer,
}
}
func main() {
unitchecker.Main(analyzers()...)
}
You can’t perform that action at this time.