     (set-face-underline 'flycheck-error nil)
     (set-face-background 'flycheck-error nil)
     (set-face-underline 'flycheck-warning nil)))
-
-(use-package flymake-go
-  :defer nil)
 
 (use-package ibuffer
   :config

  :ensure yaml-mode
  :mode "\\.ya?ml\\'")

;; (use-package flycheck
;;   :defer t
;;   :config
;;   (progn
;;     (set-face-underline 'flycheck-error nil)
;;     (set-face-background 'flycheck-error nil)
;;     (set-face-underline 'flycheck-warning nil)))

(use-package browse-url
  :ensure t)


    ;; to your emacs-config:
    (add-hook 'go-mode-hook (lambda ()
			      (set (make-local-variable 'company-backends) '(company-go))
			      (company-mode)
			      (flycheck-mode))))
  :config
  (progn
    (bind-key "C-c C-P" 'aim/occur-go-public-functions)
