chore: add roadmap
parent
7bb5fc7d63
commit
5a62dae185
|
@ -2,6 +2,12 @@
|
||||||
|
|
||||||
goimports with my opinionated preferences.
|
goimports with my opinionated preferences.
|
||||||
|
|
||||||
|
## Roadmap
|
||||||
|
|
||||||
|
- [ ] Diff with color
|
||||||
|
- [ ] Add profiling
|
||||||
|
- [ ] Use profiling to improve performance
|
||||||
|
|
||||||
## Thanks
|
## Thanks
|
||||||
|
|
||||||
- [goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports)
|
- [goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports)
|
||||||
|
|
|
@ -189,7 +189,10 @@ func (ft *Formatter) formatImports(
|
||||||
}
|
}
|
||||||
ft.mustLogImportSpecs("formatImports: importSpecs", importSpecs)
|
ft.mustLogImportSpecs("formatImports: importSpecs", importSpecs)
|
||||||
|
|
||||||
groupedImportSpecs, err := ft.groupImportSpecs(importSpecs, moduleName)
|
groupedImportSpecs, err := ft.groupImportSpecs(
|
||||||
|
importSpecs,
|
||||||
|
moduleName,
|
||||||
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue