go: README: Specify req of (format +onsave) for gofmt (#4812)

* go: README: Specify req of (format +onsave) for gofmt

* Update README.org

* Correct module flag reference

Co-authored-by: Henrik Lissner <accounts@v0.io>
This commit is contained in:
Grazfather 2021-04-13 19:28:30 -04:00 committed by GitHub
parent 027b303e33
commit 0141ad55f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ This module adds [[https://golang.org][Go]] support, with optional (but recommen
+ Eldoc support (~go-eldoc~) + Eldoc support (~go-eldoc~)
+ REPL (~gore~) + REPL (~gore~)
+ Syntax-checking (~flycheck~) + Syntax-checking (~flycheck~)
+ Auto-formatting on save (~gofmt~) + Auto-formatting on save (~gofmt~) (requires =:editor (format +onsave)=)
+ Code navigation & refactoring (~go-guru~) + Code navigation & refactoring (~go-guru~)
+ [[../../editor/file-templates/templates/go-mode][File templates]] + [[../../editor/file-templates/templates/go-mode][File templates]]
+ [[https://github.com/hlissner/doom-snippets/tree/master/go-mode][Snippets]] + [[https://github.com/hlissner/doom-snippets/tree/master/go-mode][Snippets]]
@ -89,7 +89,7 @@ go get -u github.com/fatih/gomodifytags
#+END_SRC #+END_SRC
+ ~golangci-lint~ (optional: for flycheck to integrate golangci-lint results) + ~golangci-lint~ (optional: for flycheck to integrate golangci-lint results)
it is recommended to *not* use go get to install this one, check the it is recommended to *not* use ~go get~ to install this one, check the
[[https://github.com/golangci/golangci-lint#binary-release][documentation]]. [[https://github.com/golangci/golangci-lint#binary-release][documentation]].
* TODO Features * TODO Features