How to: [⏫](#contents) Keep consistent ordering of imports with [goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports)
This is official tool for for grouping and sorting imports. However, it has only basic grouping functionality. — Go Core team

```
goimports -w -local .
```

Requirements
```
go install golang.org/x/tools/cmd/goimports@latest
```