Windows+go+beego

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

The first step, first download Go1.6.2.widowsd64.msi, double-click to install Go on Windows native;

This way, the goroot and path are added automatically in the environment variable





Then you need to create a gopath directory yourself, such as I created a Gopath folder under C, and added to the environment variable:




Second step: Download Git-2.8.1-32-bit.exe on Https://git-scm.com/download/win, double-click Run, install to C:\Program Files (x86) \git directory, Then add the git installation directory to the environment variable;

Step three: Start a git Bash and run two commands in it (which is said to run in DOS with missing files):

$ go get github.com/astaxie/beego$ go get github.com/beego/bee
Then you will find that the empty directory created before C:/gopath has three folders, src,pkg and bin, add%gopath%/bin to the environment variable after the path (the half-day is not successful, unexpectedly because it was written $gopath/bin, I cry/(ㄒoㄒ)/~ ~

Fourth step: Run on DOS based on the next few steps on the Http://beego.me/quickstart


Finally, the appearance of such a picture, even if done!!! yeah~



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.