https://github.com/robert-zaremba/flymake-go.git
git clone 'git://github.com/robert-zaremba/flymake-go.git'
An Emacs flymake handler for go-mode files
flymake-go requires gofmt which is bundled in standard go package.
Using package.el
package.el is a package manager module for Emacs. If you are not familiar with it I strongly recommend using it. On EmacsWiki is an instruction how to us it.
If you have MELPA repository activated then simply:
M-x package-install flymake-go
Otherwise download flymake-go.el and:
* move it into your site-lisp directory and byte-compile
* use package.el to handle managing this package: M-x package-install-file flymake-go.el
Add to your .emacs
(eval-after-load "go-mode"
'(require 'flymake-go))
Flycheck essentially it's flymake done right.
I encourage you to give a try to flycheck. Read more