We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d733ef commit 7d47e84Copy full SHA for 7d47e84
cmd/goimports/doc.go
@@ -5,9 +5,9 @@ adding missing ones and removing unreferenced ones.
5
6
$ go get golang.org/x/tools/cmd/goimports
7
8
-It's a drop-in replacement for your editor's gofmt-on-save hook.
9
-It has the same command-line interface as gofmt and formats
10
-your code in the same way.
+In addition to fixing imports, goimports also formats
+your code in the same style as gofmt so it can be used
+as a replacement for your editor's gofmt-on-save hook.
11
12
For emacs, make sure you have the latest go-mode.el:
13
https://github.com/dominikh/go-mode.el
0 commit comments