Go Language Engineering Management

Source: Internet
Author: User
This is a creation in Article, where the information may have evolved or changed.

Project Self-Management steps

1, installation Golang
In this case, only the installation steps under Windows
Here are the detailed Windows installation and environment variable setup steps
After the installation is complete, we will create a new bin and src directory in the appropriate directory

2. Compile operation
Then create the hello.go in the SRC directory
Yourdir is your engineering path.

mkdir -p YOURDIR/src/github.com/you/helloworldcd$GOPATH/src/github.com/you/helloworld

Finally, just run two lines of code

go run helloworld.go//验证结果go build//编译成二进制文件

Run when we're ready to release

install

You can see our compiled EXE file in the bin directory

Go into some

In addition to some of the above basic content, I also found some good information to

Go Project Directory Management

Summed up here is a bit deeper, the article pulled to the end there are some good directory layered articles, remember to check

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.