Compare commits
2 Commits
a9f7cab6f0
...
01da9ebb16
Author | SHA1 | Date |
---|---|---|
sudo pacman -Syu | 01da9ebb16 | |
sudo pacman -Syu | a38b02f135 |
34
CHANGELOG.md
34
CHANGELOG.md
|
@ -1,5 +1,39 @@
|
||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## v0.0.3 (2023-01-17)
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- feat: ignore empty imports (2023-01-17)
|
||||||
|
|
||||||
|
- feat: switch to use dst (2023-01-17)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- fix: panic if format import spec empty (2023-01-17)
|
||||||
|
|
||||||
|
### Others
|
||||||
|
|
||||||
|
- chore: reformat a little bit (2023-01-17)
|
||||||
|
|
||||||
|
- chore: use bytes.Equal instead of bytes.Compare (2023-01-17)
|
||||||
|
|
||||||
|
- chore: add make clean (2023-01-17)
|
||||||
|
|
||||||
|
- chore(deps): bump golang.org/x/tools from 0.4.0 to 0.5.0 (2023-01-05)
|
||||||
|
|
||||||
|
- chore(deps): bump github.com/urfave/cli/v2 from 2.23.6 to 2.23.7 (2022-12-12)
|
||||||
|
|
||||||
|
- chore(deps): bump golang.org/x/tools from 0.3.0 to 0.4.0 (2022-12-07)
|
||||||
|
|
||||||
|
- chore(deps): bump github.com/urfave/cli/v2 from 2.23.5 to 2.23.6 (2022-12-05)
|
||||||
|
|
||||||
|
- chore: more comment (2022-11-28)
|
||||||
|
|
||||||
|
- chore: fix typo (2022-11-28)
|
||||||
|
|
||||||
|
- chore(changelog): generate v0.0.2 (2022-11-28)
|
||||||
|
|
||||||
## v0.0.2 (2022-11-28)
|
## v0.0.2 (2022-11-28)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -17,9 +17,6 @@ Remember, **no** sort here.
|
||||||
Then insert empty import (empty path) between each group to get final imports
|
Then insert empty import (empty path) between each group to get final imports
|
||||||
Then update Go ast decls import with final imports.
|
Then update Go ast decls import with final imports.
|
||||||
|
|
||||||
There is side effect of course, because we do not create empty line but we add empty import, so there is trailing space in that line (Go indent that empty import).
|
|
||||||
That why I suggest you need to re-format after.
|
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
With Go version `>= 1.16`:
|
With Go version `>= 1.16`:
|
||||||
|
@ -65,3 +62,4 @@ import (
|
||||||
- [goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports)
|
- [goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports)
|
||||||
- [mvdan/gofumpt](https://github.com/mvdan/gofumpt)
|
- [mvdan/gofumpt](https://github.com/mvdan/gofumpt)
|
||||||
- [incu6us/goimports-reviser](https://github.com/incu6us/goimports-reviser)
|
- [incu6us/goimports-reviser](https://github.com/incu6us/goimports-reviser)
|
||||||
|
- [dave/dst](https://github.com/dave/dst)
|
||||||
|
|
Loading…
Reference in New Issue