Use goimports instead of gofmt

This commit is contained in:
2014-07-28 10:30:45 +01:00
parent 196dd3e91d
commit c18bba0bab

View File

@@ -12,4 +12,6 @@
)
(add-hook 'go-mode-hook 'customizations-for-go-mode)
(setq gofmt-command "goimports")
(add-hook 'before-save-hook #'gofmt-before-save)