github.com/golangci/go-tools@v0.0.0-20190318060251-af6baa5dc196/cmd/errcheck-ng/errcheck-ng.go (about) 1 package main // import "github.com/golangci/go-tools/cmd/errcheck-ng" 2 3 import ( 4 "os" 5 6 "github.com/golangci/go-tools/errcheck" 7 "github.com/golangci/go-tools/lint" 8 "github.com/golangci/go-tools/lint/lintutil" 9 ) 10 11 func main() { 12 lintutil.ProcessArgs("errcheck-ng", []lint.Checker{errcheck.NewChecker()}, os.Args[1:]) 13 }