Hello,go!

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

What is Go?
What is go?

Go is an expressive, concurrent, garbage-collected programming language.

Go is an expressive, parallel, system programming language with garbage collection.

Homepage http://golang.org/of Go language

Install Go compilers, tools, and libraries.

Install go compilers, toolkits and libraries

Go tools Download Address: http://code.google.com/p/go/downloads/list

Linux Environment (tomorrow)

Windows environment

In the win environment, go language project provides two kinds of installation methods,

1) MSI format installation package, installed by default under C:\Go\, and the default configuration of the Go language environment variables and bin path.

{goroot-C:\Go\} environment variables
{path-C:\Go\bin} path configuration

2) Zip compression package. After extracting to any directory dir, configure the environment variable Goroot->dir\go, configure the PATH variable Dir:\go\bin


Test Your Installation

Test installation

Write a Hello world to test whether the installation was successful ...

Create a file named Hello.go

Package Mainimport "FMT" Func Main () {    fmt. Printf ("Hello, world\n")}

Open console, run go run hello.go, if you see "Hello, World" stands for installation success!

(not to be continued)


Related reading

Go Nuts http://groups.google.com/group/golang-nuts

The FAQ http://golang.org/doc/go_faq.htm

A Tour of Go http://tour.golang.org/#1

Go, C language Http://www.infoq.com/cn/presentations/go-internet-c-lang in the internet era

Xu Xiwei "Go Language Programming" Sample "object-oriented programming http://www.ituring.com.cn/article/1339


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.