This is a creation in Article, where the information may have evolved or changed.
One: Installation Golang
1. Download and install the Go language.
Website Download Address:
https://code.google.com/p/go/wiki/Downloads?tm=2
Select the . msi installation package that corresponds to the integration and development environment, such as:Go1.2.2.windows-amd64.msi
2, installation.
Note: Never have Chinese in the path. Otherwise, the Go Language development tool will not work properly
Because the MSI installation file is used, the Go Language environment variable is set up automatically.
Note: If the following HelloWorld program does not work, or if you are using a ZIP package, you can set the environment variable here:
System Variable Name:
Goroot
Value:
Where Go is installed
System Variable Name:
Path
Append value:
;%goroot%\bin
4, check the installation:
In the command console, enter: Go version
==================
Second, install the GCC compiler MinGW
1. Download
Download Address: The package that shows Windows64bits
Http://sourceforge.net/projects/mingw-w64/files/latest/download
2. Installation
Direct installation
3, configure environment variables,
Add the address of the Bin folder of the installed MinGW in path
4. Testing
Gcc-v, can see the correct configuration information is the installation configuration success
=======================
Iii. Installing IDE Tools liteide
1. Download
Https://code.google.com/p/golangide/downloads/list
Download Windows version
2. Testing
After decompression
Start: Liteide\bin\liteide.exe
New Go1 commend project.
Compile the Man.go file.
The discovery will be an error:
3. Recompile the Golang
Go to C:\Go\src, start Make.bat
If normal, you will see
Will succeed in the end.
4. Recompile the Main.go
'll see
5, success.