This is a creation in Article, where the information may have evolved or changed.
Accustomed to eclipse, so ...
Golang Windows Development Environment
Reference Document: Http://golang.org/doc/install
1. Download Go install package http://code.google.com/p/go/downloads/list
2. Install the download package
2. Setting Environment variables
Configure the GO environment variable in My computer:
2.1 Create a new environment variable goroot, with the value of the root directory of the go you unzipped (author's C:\go)
2.2 Add the bin of go to the PATH environment variable, the author is%goroot%\bin;
2.3 Open the CMD command line and enter go. If the configuration is correct, there will be a help prompt.
Install and configure Goclipse goclipse is a plugin for eclipse, the current 0.8.0 version requires Java 7 and Eclipse4.3
3.1 Installing Jre-7u67-windows-x64.exe 3.2 Downloads Unzip the eclipse IDE for C + + developers Goclipse relies on the CDT component (should be required when debugging?) ), so download the decompression eclipse-cpp-luna-r-win32-x86_64.zip. If you are using a different code version of the IDE, you will also need to install the CDT component. 3.3 Installing Goclipse 2 ways: One is through Eclipse's install New software, and the other is to download the Goclipse package directly to the Eclipse directory. Method 1: https://github.com/GoClipse/releases/raw/master/ Method 2:https://github.com/goclipse/releases Click on the "Download ZIP" in the lower right corner
Remember : Extract only the plugins and features two directories to the Eclipse directory, Do not put Artifacts.jar and Content.jar in the Eclipse directory, which will cause preferences to not show go configuration items, even if the deletion of these two files restart is useless! 3.4 Configuring Goclipse because both Goclipse and eclipse do not come with GDB and Gocode, you can use both of these programs in the Liteide package. Unzip liteidex23.2.windows.7z to D:\, and you can browse to the files in the subsequent configuration. gdb and Gocode can also be installed in other ways because it is most convenient to use the Liteide program, and other methods are not introduced. Browse ... Browse to the Go installation directory and the Go Tools three paths will be populated automatically.