This is a creation in Article, where the information may have evolved or changed.
Now go language MS is often mentioned, I went to the fun to see ~ ~
The compiler of Go language windows can go to http://code.google.com/p/gomingw/downloads/list download
Download unzip config environment variable
Environment variables (environment variables, advanced system settings, My Computer), under the tags of the system variables, create a few key-value pairs as follows:
(1). New variable name: GOBIN variable Value: C:\go\bin
(2). New variable name: Goarch Variable Value: 386
(3). New variable name: GOOS Variable Value: Windows
(4). New variable name: Goroot variable Value: C:\go
(5). Edit path at the end of the variable value of path plus%gobin%
Editor selection Sublime Text 2 seems to be a recent hot editor.
Sublime Text 2 Compilation configuration settings method
Tools->build System->new Build system creates a new configuration file that is set to
{ ["Go", "Run", "$file _name"], "File_regex": "^[]*file \" (... *) \ ", line ([0-9]*)", "Working_dir": "$file _path", "selector": "Source.go"}
Save
And then you can compile it with ctrl+b.