This is a creation in Article, where the information may have evolved or changed.
Today is nothing to do, toss the go language, it may be used to write a server program.
The following is Wikipedia's introduction to the Go language
Http://zh.wikipedia.org/zh-cn/Go
I machine is windows7 32 bit, myeclipse10.1
1. First download Gomingw
Because the go language is not natively supported for Windows, GOMINGW is required, andGomingw is the porting of the Go language compiler on MinGW.
Download address for
Https://code.google.com/p/gomingw/downloads/list
What I'm downloading here is
Go.weekly.2012-02-22.windows-386.zip
Unzip to the hard drive after downloading, I unzip to "E:\go\go"
Then configure the environment variables
The path variable is added;%gobin%
After the configuration is complete, enter the go return in the console and you should see
2. Installing Goclipse
Click on "Help---" in eclipse install new soft ...
Enter Address
http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/
Installation can be done.
After you restart Eclipse, configure go.
3. Run Hello World
Create a new Go project
Create a new main folder under the SRC directory and create a new Main.go file in the main folder, as follows
Package Mainimport "FMT" Func Main () {FMT. Println ("Hello, World");}
Save, right-click to run
Finally recommend an introductory tutorial
Http://www.aqee.net/go/a-tour-of-go