15 lines
225 B
Go
15 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
|
||
|
}
|