Go install download

Source: Internet
Author: User
Tags gocode
Record Golang, because Google can not access, the Internet is not able to find the right way to download, here is recorded download golanghttp://golangtc.com/download use Eclipse Editor, download eclipsehttp:// www.eclipse.org/downloads/
Download Goclipsehttps://github.com/goclipse/goclipse source https://github.com/GoClipse/releases release, use this (compiled package) plugins/the following. jar file to eclipse/plugins/and then download Gocode (code hint) https://github.com/nsf/gocode/download the zip file and extract it to%goroot% ( Go language installed directory) under the command line, go to the Go installation directory, execute go build. \gocode/go/bin will appear gocode.exe finally make the appropriate configuration in Eclipse (window->preferences), Locate the Go configuration item to configure under Linux:

Wget-c http://golangtc.com/static/go/go1.4.1.linux-amd64.tar.gz (breakpoint resume download)

Tar zxvf go1.4.1.linux-amd64.tar.gz-c/your/path

Setting environment variables

Mkdir/your/path/gopath

Vi/etc/profile

Export Goroot=/your/path/go

Export Gopath=/your/path/gopath

Export gobin= $GOROOT/bin

Export path= $PATH: $GOBIN

Source/etc/profile (Run the command to make the variable effective)

Go version (view)

Go install download

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.