Emacs mode for Golang

This tutorial is dedicated to a brother in Wisconsin.

Emacs depends on lisp mode for proper language syntax. The nearest is the C mode but it doesn't jive well without semicolons.

Below is the some yum and apt-get installs for getting the golang-mode for your Emacs

  • Fedora/CentOS: yum install emacs-golang
  • Ubuntu/Debian: apt-get install golang-mode

Happy Emacs-ing with Go!

By Adam Ng

IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.