From 01da9ebb16b8cec161d2e73579a2adde94143ba6 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Tue, 17 Jan 2023 12:00:20 +0700 Subject: [PATCH] chore: remove buggy side effect --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 6a1954a..647ad68 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,6 @@ Remember, **no** sort here. Then insert empty import (empty path) between each group to get 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 With Go version `>= 1.16`: @@ -65,3 +62,4 @@ import ( - [goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports) - [mvdan/gofumpt](https://github.com/mvdan/gofumpt) - [incu6us/goimports-reviser](https://github.com/incu6us/goimports-reviser) +- [dave/dst](https://github.com/dave/dst)