This is a creation in Article, where the information may have evolved or changed.
First, go to install:
Under Ubuntu
sudo apt-key adv--keyserver keyserver.ubuntu.com--recv 9ad198e9
sudo sh-c ' echo ' Deb Http://ppa.launchpad.net/gophers/go/ubuntu $ (LSB_RELEASE-SC) main ">/etc/apt/sources.list.d/ Golang.list '
sudo apt-get update
sudo apt-get install golang-stable
Windows under
Download go install package, Address: Http://code.google.com/p/go/downloads/list?q=OpSys-Windows+Type%3DInstaller
The installation can be completed
Second, the choice of IDE environment
a programme: Go Development Environment Configuration Open the Eclipse menu, help, install new software, add Google Golang plugin address: http://goclipse.googlecode.com/svn/trunk/ goclipse-update-site/, find the plugin;
b Scenario: default installation Liteide is an integrated development environment (IDE) specifically developed for the Go language, download address: http://code.google.com/p/golangide/downloads/list, You can open the Liteide directly under the bin (choose one of two development environments)
In Liteide, click to run ()
Run Go program at Terminal: Go run helloworld.go