           (kill-buffer))))))
 
 (use-package go-mode
-  :ensure go-mode)
+  :ensure t)
 ;; Requires gocode daemon. Install with:
 ;; go get -u github.com/nsf/gocode
 ;; go get -u code.google.com/p/rog-go/exp/cmd/godef

(require 'package)
(add-to-list 'package-archives
             '("melpa" . "http://melpa.org/packages/"))
(package-initialize)

(if (not (package-installed-p 'use-package))
    (progn
      (package-refresh-contents)
      (package-install 'use-package)))
(require 'use-package)

(use-package async
  :ensure async)
(require 'async-bytecomp)

;; Display line numbers.
(use-package linum
  :ensure linum)
(global-linum-mode)

;; Right-justify linum

(semantic-mode 1)

(use-package yasnippet
  :ensure t)
(setq yas-snippet-dirs
      '("~/.emacs.d/yasnippets/personal"))
(yas-reload-all)
