Using Golang in Eclipse - tooltwist/documentation GitHub Wiki
A quick Google will find instructions to set up your machine for Go development using Eclipse.
Note that Golang needs to be installed separately to Eclipse.
Eclipse Mars comes with Golang support already installed, however there are a few changes to System Preferences required.
Problem Solving
If you see this error:
... the cause may be incorrect settings for gdb: