emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/go-mode 2a1584f 454/495: Readme: add note recommending goi


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 2a1584f 454/495: Readme: add note recommending goimports
Date: Sat, 7 Aug 2021 09:06:07 -0400 (EDT)

branch: elpa/go-mode
commit 2a1584f06f95792f2c5a84c523bccaafbc5dbbab
Author: Peter Sanford <psanford@sanford.io>
Commit: Muir Manders <muir@mnd.rs>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]