File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
gopls/internal/analysis/gofix Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,16 @@ import (
30
30
var doc string
31
31
32
32
var Analyzer = & analysis.Analyzer {
33
- Name : "gofix" ,
34
- Doc : analysisinternal .MustExtractDoc (doc , "gofix" ),
35
- URL : "https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/gofix" ,
36
- Run : run ,
37
- FactTypes : []analysis.Fact {new (goFixInlineFuncFact ), new (goFixInlineConstFact )},
38
- Requires : []* analysis.Analyzer {inspect .Analyzer },
33
+ Name : "gofix" ,
34
+ Doc : analysisinternal .MustExtractDoc (doc , "gofix" ),
35
+ URL : "https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/gofix" ,
36
+ Run : run ,
37
+ FactTypes : []analysis.Fact {
38
+ (* goFixInlineFuncFact )(nil ),
39
+ (* goFixInlineConstFact )(nil ),
40
+ (* goFixInlineAliasFact )(nil ),
41
+ },
42
+ Requires : []* analysis.Analyzer {inspect .Analyzer },
39
43
}
40
44
41
45
// analyzer holds the state for this analysis.
You can’t perform that action at this time.
0 commit comments