1 Download the Go installer package for the Windows version, Http://code.google.com/p/go/downloads/list
2 download Liteide for Windows, unzip and use after download
Http://code.google.com/p/golangide/downloads/list
3 Unzip the downloaded Go installation package and start configuring environment variables
4 Create a new environment variable named Goroot (note case)
5 Add the Go Bin directory to the system's PATH environment variable (note case)
6 Open the Liteide bin directory under Liteide.exe, start to configure the Go build environment, click on the menu bar: View-------liteenv, because of the 32-bit system installed on the computer, So double-click win32.env for environment variable editing (64 bits is: win64.env)
7 After the change is complete CTRL + S Save (modify Goroot, etc.), restart Liteide
- # Native Compiler Windows 386
- Goroot=c:\go
- gobin=
- Goarch=386
- Goos=windows
- Cgo_enabled=1
- path=%gobin%;%goroot%\bin;%path%
- Liteide_gdb=gdb
- Liteide_make=mingw32-make
- liteide_term=%comspec%
- liteide_termargs=
- liteide_exec=%comspec%
- Liteide_execopt=/c
8 After the restart in the package browse, if you can find go then the configuration is successful (the package in the left column)
9 Create a new directory for the GO program in your computer, and then click on the menu bar: View-Gopath, browse (equivalent to configure a project path)
10 Click OK to see the package browse one more
11 Create a simple engineering test Go language environment, click on the menu: file-New, following configuration, click OK
12 Click Buildandrun on the toolbar, run the program, if successful in the bottom of the compilation Output window will appear HelloWorld
Win7/win10 to build the Go language development environment