This is a created article in which the information may have evolved or changed.
Debug environment and code hints for Win7 (64-bit) under Eclipse configuration Golang
1. Golang The Code hints feature in eclipse:
1.1 Download Gocode source code , from https://github.com/nsf/gocode, download the source code to the Gopath path below, on the command line into the folder directory to execute Go Build build Gocode.exe (do not want to download the source code compiled can also directly upload my resources to find me to compile the production number of the Gocode file):
1.2 Eclipse Configuration Gocode, select the production gocode.exe file, apply accept and click OK to hold, the typing code appears prompt:
2. Debug the Golang program in Eclipse
2.1 directly under Gdb.exe (needed to look up from the resources I uploaded) and configure eclipse:
2.2 Test Debug function, the following interface appears in the console, indicating that the installation is successful, you can enter the GO command in the console to operate:
The required files can be found in the resource files I upload, specific debugging can follow my post.