diff --git a/mode-customizations/go-mode.el b/mode-customizations/go-mode.el index 1d18cc6..0a6451e 100644 --- a/mode-customizations/go-mode.el +++ b/mode-customizations/go-mode.el @@ -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)