mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 12:21:03 +00:00
c28f7cb29f
Initial part of #435
14 lines
225 B
Go
14 lines
225 B
Go
package reqwithoutctx
|
|
|
|
import (
|
|
"golang.org/x/tools/go/analysis"
|
|
)
|
|
|
|
func Run(pass *analysis.Pass) (interface{}, error) {
|
|
analyzer := NewAnalyzer(pass)
|
|
reports := analyzer.Exec()
|
|
|
|
report(pass, reports)
|
|
|
|
return nil, nil
|
|
}
|