branch: elpa/go-mode
commit 2a1584f06f95792f2c5a84c523bccaafbc5dbbab
Author: Peter Sanford <[email protected]>
Commit: Muir Manders <[email protected]>
Readme: add note recommending goimports
Most people should be using `goimports` in a save hook over using
`go-import-add` and `go-remove-unused-imports` directly.
Closes: #304 [via git-merge-pr]
---
README.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/README.md b/README.md
index 9f5eb42..854450c 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,9 @@ the following extra features to provide an improved
experience:
(`go-import-add`, bound to `C-c C-a`)
- A function for removing or commenting unused imports
(`go-remove-unused-imports`)
+ - It is recommended that you use `goimports` or the
+ `organize-imports` feature of `gopls` to manage
+ adding/removing/organizing imports automatically.
- Integration with godef
- `godef-describe` (`C-c C-d`) to describe expressions
- `godef-jump` (`C-c C-j`) and `godef-jump-other-window` (`C-x 4 C-c