This is a creation in Article, where the information may have evolved or changed.
1. Download the installation package
You can find the installation method under each platform from the Go Lang homepage:
Home: http://golang.org/#
Installation Documentation: Http://golang.org/doc/install
Go source:http://code.google.com/p/go/
Windows Download package: Http://code.google.com/p/go/downloads/list?q=OpSys-Windows+Type%3DInstaller
I downloaded the MSI package myself, this does not set the environment variable, after the installation of the environment variable set itself
2. Write Helloworld.go code
Package Main
Import "FMT"
Func Main () {
Fmt. Println ("Test")
}
Save As file Helloworld.go
3., run
Go Run helloworld.go
The terminal window will print:
Hello,world
4. Goclipse Eclipse Installation
Installation steps
Http://code.google.com/p/goclipse/wiki/InstallationInstructions
Plugin Address: http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/
Same as the Google ADT plug-in installation
5. "Learning Go Language" Chinese version
http://www.mikespook.com/learning-go/