diff --git a/README.md b/README.md index 2dca63e..fce364c 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,12 @@ goimports with my opinionated preferences. +## Roadmap + +- [ ] Diff with color +- [ ] Add profiling +- [ ] Use profiling to improve performance + ## Thanks - [goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports) diff --git a/internal/imports/formatter.go b/internal/imports/formatter.go index 19cb064..f227a82 100644 --- a/internal/imports/formatter.go +++ b/internal/imports/formatter.go @@ -189,7 +189,10 @@ func (ft *Formatter) formatImports( } ft.mustLogImportSpecs("formatImports: importSpecs", importSpecs) - groupedImportSpecs, err := ft.groupImportSpecs(importSpecs, moduleName) + groupedImportSpecs, err := ft.groupImportSpecs( + importSpecs, + moduleName, + ) if err != nil { return nil, err }