01_ Configuration of the environment

Source: Internet
Author: User
Of course, to the official website to download Golang installation package If it is not possible because of the website speed problem, or you can use the Circumvention software, or go to the Chinese community https://studygolang.com/dl download the corresponding version of the Golang installation package installation process is a fool-style installation, Golang will automatically open a Gopath added to the system variable in the command-line tool using Go version to view go versions can use godoc-http=:8080 to open a local API document Gopath need to build 3 files directory Bin storage compiled Executable file pkg store compiled generated package SRC Store project source code place go get get remote package need to install Git or Hggo run directly run program go build test compiler go FMT format code go install compile report file and compile entire program go Compiling test files Go Doc viewing documents 95 reads
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.