We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1887cca commit 6d0b9f7Copy full SHA for 6d0b9f7
pkg/analyzer/analyzer.go
@@ -73,7 +73,7 @@ func runAnalysis(pass *analysis.Pass) (interface{}, error) {
73
74
for _, file := range fileReferences {
75
filePath := file.Name()
76
- unmodifiedFile, formattedFile, err := gci.LoadFormatGoFile(io.File{filePath}, *gciCfg)
+ unmodifiedFile, formattedFile, err := gci.LoadFormatGoFile(io.File{FilePath: filePath}, *gciCfg)
77
if err != nil {
78
return nil, err
79
}
0 commit comments