This is a creation in Article, where the information may have evolved or changed.
1. First download the go1.3 source package and unzip it.
2. Enter the GO/SRC directory, run All.bat to perform the compilation, and if you are prompted to find GCC, see 3.
3. Go to download Win's gcc download the corresponding Windows version of the installer (follow runs on), download and run select the corresponding version of the download, the download will take some time, after completion will be installed automatically. You will need to add the GCC directory to the PATH environment variable after the installation is complete. This person is lazy, so run the command directly in CMD:
Set path=%path%;D: \dev\mingw-w64\x86_64-4.9.0-posix-seh-rt_v3-rev2\mingw64\bin
Then we re-execute the 2nd step above.
4. Wait for the compilation installation, test, check API (This step requires network, may take 20 minutes, can skip it)
5. Configure the Goroot environment variables, Gopath, Gobin environment variables, and add the Gobin to the PATH environment variable.
6. Gopath equivalent to your working directory, the third-party library that go get download will be saved here, if more than one Gopath item is configured, go get default download to the first item's configuration, However, if you check whether the library already exists, all Gopath items are scanned. ex:gopath=gpath1;gpath2