This is a creation in Article, where the information may have evolved or changed.
I wrote a furious message to the writers of the go language a few years ago, hoping that they would be braver to create a new language.
Since then, less attention to it, did not think, and now meet the growth of it.
It's easy to install the Go Language Development kit, so you can install the development package on Linux, Windows, MacOS, and so on, as long as the steps on the official website are installed.
Http://golang.org/doc/install
After installation, you can use the go language to develop.
--------------------------------------------------------------------------------------------------------------- ----------------------------------------
However, there should be a lot of people with windows, like to configure the visual programming environment on Windows;
Below is a collection of articles from the following blog friends, how to configure go on Windows + Eclipse.
http://blog.csdn.net/hengyunabc/article/details/7371446
This article address: http://blog.csdn.net/hengyunabc/article/details/7371446
2012-03-31: The new version of Goclipse has been greatly improved, and some of the content in this article is outdated.
1. Download the installation package for go under Windows:
Https://code.google.com/p/go/downloads/list
You can also download the source code and compile it with MinGW . Configure the MinGW Environment First, then run the All.bat.
mingw:http://www.mingw.org/
2. Download Gocode, for go full tip:
Gocode's GitHub Address:
Https://github.com/nsf/gocode
To install Git, under Windows, you typically use Msysgit.
https://code.google.com/p/msysgit/
Install again under cmd:
go get-u github.com/nsf/gocode
You can also download the code and compile it directly with go build, which generates Gocode.exe.
3. Install the plugin in eclipse:
Http://code.google.com/p/goclipse/wiki/InstallationInstructions
4. Configure the plugin:
(1). Configure the Go Compiler
(2). Configure Gocode (optional), here I use the Eclipse plugin comes with the gocode.
(3). Configure GDB to make a trial (optional)
If MinGW is installed, you can find gdb under the installation directory.
5. Whether the test was successful
Create a new Go project and build a hello.go. Such as:
GDB debugs as follows (to debug with the input command in the console):
6. Other
March 31, 2012:
Currently this eclipse plugin can only be run with the code in the CMD package. (Programmingisstory note, not required at this time)
It seems that the popular is sublime Text2 + Gocode. Sublime text is also quite useful.