Installation configuration go1.4 and Eclipse's Go development environment

Source: Internet
Author: User

  1. First download Golang version 1.4 from the Internet

    Official: Http://code.google.com/p/gomingw/downloads/list

    Third party: Http://www.golangtc.com/static/go/go1.4.windows-amd64.zip

  2. Installation Configuration go1.4

    Place the extracted go directory in any directory. Default C:\go

    Configure system Environment variables: Goroot and Gopath.

    <1> we can add Gobin directory C:\go\bin directly in the system environment variable path (the system will default goroot:C:\go), or you can append goroot: C:\go. Of course you can also create goroot first and then add the path directory. But the go directory was short and I added the path directly.

    <2>Gopath is the project directory, which we specify ourselves. Let's first create the system environment variable gopath Specify that my directory is D:\projects\go.

    After the manager runs the doc command go env displays as follows, then succeeds:

  3. Eclipse's Go development environment

    Download install eclipse Go plugin: goclipse, goclipse. Gocode, goclipse. Debug three plugins

    : http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/

    After the installation is complete, configure the Go preference

    Once the configuration is complete, you can build the Go project and write the Go code.


Installation configuration go1.4 and Eclipse's Go development environment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.