   (add-hook! go-mode (add-hook 'before-save-hook 'gofmt-before-save))
   :config
   (set! :build 'go-build 'go-mode '+go/build)
-  (set! :company-backend 'go-mode '(company-go company-yasnippet))
+
   (set! :repl 'go-mode 'gorepl-run)
 
   (map! :map go-mode-map

           :n "s" '+go/test-run-package))))


(def-package! company-go :after go-mode)


(def-package! go-eldoc

;;; lang/go/config.el

;; requires gocode (completion), gore (repl) and a valid $GOPATH
;;   go get -u github.com/nsf/gocode
;;   go get -u github.com/motemen/gore

(def-package! go-mode
  :mode "\\.go$"
