First download Golang version 1.4 from the Internet
Official: Http://code.google.com/p/gomingw/downloads/list
Third party: Http://www.golangtc.com/static/go/go1.4.windows-amd64.zip
Installation Configuration go1.4
Place the extracted go directory in any directory. Default C:\go
Configure system Environment variables: Goroot and Gopath.
<1> we can add Gobin directory C:\go\bin directly in the system environment variable path (the system will default goroot:C:\go), or you can append goroot: C:\go. Of course you can also create goroot first and then add the path directory. But the go directory was short and I added the path directly.
<2>Gopath is the project directory, which we specify ourselves. Let's first create the system environment variable gopath Specify that my directory is D:\projects\go.
After the manager runs the doc command go env displays as follows, then succeeds:
Eclipse's Go development environment
Download install eclipse Go plugin: goclipse, goclipse. Gocode, goclipse. Debug three plugins
: http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/
After the installation is complete, configure the Go preference
Once the configuration is complete, you can build the Go project and write the Go code.
Installation configuration go1.4 and Eclipse's Go development environment