[Go]---Win7 to build the Go language development environment

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

Email: hahayacoder@gmail.com

1 Download the Go installation package for Windows version, download address http://code.google.com/p/go/downloads/list

2 Download liteidefor Windows , unzip and use after download

Download Address http://code.google.com/p/golangide/downloads/list

3 Unzip the downloaded Go installation package and start configuring environment variables

4 Create a new environment variable named goroot

5 Add the go bin directory to the system's Path environment variable

6 Open the liteide bin directory under liteide.exe, start configuring the Go compilation environment, click on the menu bar: view, options, liteenv, because the computer is loaded with the system, so double-click win32.env for environment variable editing

7 After the change is complete Ctrl + S Save (Modify goroot , etc.), restart liteide

# Native Compiler Windows 386goroot=c:\gogobin=goarch=386goos=windowscgo_enabled=1path=%gobin%;%goroot%\bin;%path% Liteide_gdb=gdbliteide_make=mingw32-makeliteide_term=%comspec%liteide_termargs=liteide_exec=%comspec%liteide_ Execopt=/c


8 After the restart in the package browse, if you can find go, the configuration is successful

9 Create a new directory for the GO program in your computer, and then click on the menu bar: View-Gopath, browse (equivalent to configure a project path)

10 Click OK to see the package browse one more

11 Create a simple engineering test Go language environment, click on the menu: file-New, following configuration, click OK

12 Click Buildandrun on the toolbar, run the program, if successful in the bottom of the compilation Output window will appear HelloWorld

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.