This is a creation in Article, where the information may have evolved or changed.
Win7 (64-bit) under Eclipse Configuration Golang Development Debugging environment
1. Download the Golang Toolkit (which you can think of as Java-like JDK), I download the 64-bit installation package here:
2. Install the Golang Toolkit (one "next"), install completed at the command line enter the Go ENV command, the following interface appears, indicating that the Golang installation is successful (where Gopath need to be configured manually in the system environment variable):
3. Download Eclipse and install eclipse (unzip it), install finish to launch and install Eclipse's Golang plugin (i download the Eclipse offline install package here, After extracting the plugin, copy the files in the features and plugins folders to eclipse's corresponding features and plugins folders respectively, and restart eclipse:
4. Under Eclipse, Window-->preferences, the Go interface indicates a successful go plugin configuration:
5. Eclipse configuration Go parameter, here Gopath first not configure, click Apply App, and click OK to keep:
6. New Go project, click Finish to complete:
7. View the project catalog as follows:
8. Create a new Go file (in the SRC directory right-click New), enter the file name, click Finish to complete the creation, complete the following:
9. Enter the code as follows (it must be under the main package, otherwise it cannot be executed), right-click on the file to see the running effect (Hello World, done):
10. The above environment configuration is basically complete (need to install package and go plugin can be downloaded from the resources I provide), if you need debugging and code hints please follow the next article.