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 (
3030var doc string
3131
3232var 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 },
3943}
4044
4145// analyzer holds the state for this analysis.
You can’t perform that action at this time.
0 commit comments