Go Language Primer

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

Description: Recently in the learning Go language, first on the computer to carry out the development environment configuration, the following is the installation package and installation steps, for beginners to learn and reference.

Installation steps:

1. First prepare the Go language requires language packs, compilers, and IDE development tools. The download address is as follows:

Go Language Pack: http://download.csdn.net/detail/lyalei/9009103

Compiler: http://download.csdn.net/detail/lyalei/9009139

IED tool: http://download.csdn.net/detail/lyalei/9009159

2. Install the Go Language Pack and set the environment variables

Description: More system to select the language pack, because I system for Win7 64-bit, so install Go1.4.1.windows-amd64.msi language pack, after installation environment variable settings, the new system variable as shown below, while adding c:\go\bin in path. Where C:\go is the language pack installation path.




Enter go version in CMD to see if the installation was successful


3. Unzip the compiler, then you need to set it in path in the IDE editing environment

After downloading x86_64-w64-mingw32-gcc-4.8.0-win64_rubenvb.7z, decompression to the C drive can be used, in order to operate a simple and direct decompression to C:\GCC, which is the default setting of the compilation environment



4. Unzip the IED tool, set environment variables, and set the editing environment

Download liteidex27.2.1.windows-qt5.7z tool for green version, unzip after download can be run directly

Set the project run directory in an environment variable


After opening the IED tool, you need to set up the compilation environment, if the installation directory is shown above, basically do not need to modify

In the toolbar, click View--View the compilation environment. The changes are as follows: For reference, the 32-bit system adm64 will be 386


5. Create a project, compile and run the project


Click BR to compile and run, the results will be displayed




Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

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.