Emacs + GoLang [gofmt not found problem]

Some time ago, as you can saw from my tweet:

i moved back from sublime text editor to emacs for go, erlang, js programming and general usage. I installed standard go-mode with emacs package manager, configured go-mode:


and opened simple golang project in it. After the editing first *.go file i got a problem. When i tried to save my *.go file, i got error in emacs minibuffer:
Error: gofmt program not found.
Solution for this problem proved to be very simple:


Thanks stackoverflow again :)

Comments