Go Language Support for Gedit and Other GtkSourceView Based Editors
The syntax file for Gedit based editors is already included in the last versions of GtkSourceView.
For example in Ubuntu 12.04 that comes with Gedit 3.4.1:
$ ls /usr/share/gtksourceview-3.0/language-specs/go* /usr/share/gtksourceview-3.0/language-specs/go.lang
Syntax Highlighting Files
Contributed by Jim Teeuwen:
You can use this syntax file for any text editor, IDE or other app that uses the GtkSourceView widget.
To install copy
An alternative syntax file by Javier Pérez, based on c.lang:
And another one by Tonic Artos:
And yet one more by André Luiz Alves Moraes:
There is a Go plugin by fuzzybyte that has code completion using gocode, autoformatting with gofmt and other features:
Gedit Snippets for Go
A collection of code snippets by Yerlan Sergaziyev.