cmd/goimports: update docs to not imply goimports is superset of gofmt

Change-Id: I098fa50c274d8206b6e2534d647cfae18d6b2703
Reviewed-on: https://go-review.googlesource.com/45390
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Brad Fitzpatrick 2017-06-12 17:22:52 +00:00
parent 5d733ef37e
commit 7d47e840ac
1 changed files with 3 additions and 3 deletions

View File

@ -5,9 +5,9 @@ adding missing ones and removing unreferenced ones.
$ go get golang.org/x/tools/cmd/goimports $ go get golang.org/x/tools/cmd/goimports
It's a drop-in replacement for your editor's gofmt-on-save hook. In addition to fixing imports, goimports also formats
It has the same command-line interface as gofmt and formats your code in the same style as gofmt so it can be used
your code in the same way. as a replacement for your editor's gofmt-on-save hook.
For emacs, make sure you have the latest go-mode.el: For emacs, make sure you have the latest go-mode.el:
https://github.com/dominikh/go-mode.el https://github.com/dominikh/go-mode.el