Windows Build Golang Environment

Source: Internet
Author: User
Tags install go
This is a created article in which the information may have evolved or changed.

Due to the existence of the wall, many URLs can not be downloaded, recommended https://studygolang.com/dl to download.

Windows needs to configure several environment variables, I am the download of the compressed file, so I need to configure, installed by the installation program should not need to set the environment variables, can also go to see if the environment variable is set up.

It's mainly these three environment variables.

GOBIN is the bin folder in the Install Go directory

Gopath is your working directory.

Goroot is the root directory of the install Go

Also need to add gobin to path

The basic configuration of go here is OK, it is also important to note that your go project files are placed in the working directory under the SRC, a project a file.

The items that are taken by git are placed in this directory, and some go extensions can be installed with the Go Get-v address (to be advanced to the SRC directory via go get installation).

Go IDE tools, recommended with JetBrains released Goland, very useful.

The above is my own set of GO environment process, in this record down.

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.