- Install golang package
- Put this into ~/.profile:
export GOROOT=$(go env GOROOT)
- Download and unpack IntelliJ IDEA Community Edition from here. Launch idea-IC-135.480/bin/idea.sh
- Install GoLang plugin for IDEA. Open the Plugins installation page: File -> Settings -> Plugins -> Browse Repositories... Search for "golang". Right click on the proper plugin and install.
More info here.