Updated readme with example for goimports

This commit is contained in:
bogdanteleaga 2015-10-19 16:21:39 +03:00 committed by Eivind Fonn
parent eda444f153
commit 9c7033cee5
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,7 @@
This layer adds extensive support for go.
** Features:
- gofmt on file save
- gofmt/goimports on file save
- Auto-completion using [[https://github.com/nsf/gocode/tree/master/emacs][go-autocomplete]] (with the =auto-completion= layer)
- Source analysis using [[http://golang.org/s/oracle-user-manual][go-oracle]]
@ -55,6 +55,8 @@ formatter, set the value of =gofmt-command=, e.g.
#+begin_src emacs-lisp
(setq gofmt-command "goimports")
or
(go :variables gofmt-command "goimports")
#+end_src
* Working with Go