Go Language Introduction

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

1. Introduction

The go language is the second open source programming language released by Google 2009. The go language is optimized for programming multi-processor system applications, with go-compiled programs that are comparable to C or C + + code, are more secure, support parallel processes, and have a garbage collection mechanism.


2. Installation

Http://golang.org/doc/install Here are the detailed installation tutorials. Go Editor can choose Eclipse and Goclipse collocation, plugin address.

http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/

If the installation is successful, you can see go in the Tree menu on the left side of the window–>preferences, click Go, and then set the Goroot path to the Go installation directory (such as C:\go) on the right, and the following path to the Go tool will be automatically recognized.

Below to create a go project to test, in the menu bar file–>new–>other–> Select go–> Choose Go project–>next–> give the project a name (such as Gotest) –> Finish, create a success, and then create a source file with the main entry function in the SRC directory of the project test.


The detailed installation configuration process can refer to this blog post.

http://rongmayisheng.com/post/windows%E4%B8%8B%E7%94%A8eclipsegoclipse%E6%8F%92%E4%BB%B6gdb%E6%90%AD%E5%BB% bago%e8%af%ad%e8%a8%80%e5%bc%80%e5%8f%91%e8%b0%83%e8%af%95%e7%8e%af%e5%a2%83


3. Hello World Program

Package Mainimport "FMT" Func Main () {FMT. Println ("Hello, World");}

Output

Hello,world


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.