This is a creation in Article, where the information may have evolved or changed.
What is go?
Go is a compiled system programming language with concurrent support and garbage collection , designed to create a high performance and dynamic language development in a statically compiled language A programming language that has a good balance between the points.
What are the main features of go?
type safety and memory security
high concurrency with very intuitive and very low-cost scenarios
Efficient garbage collection mechanism
Fast compilation (also solves too many problems with header files in C language)
For multi-core computers * * * can improve the solution
UTF-8 Encoding Support
Install Golang environment under CentOS 64bit
Download install Fedora Epel installation source
RPM-IVH http://ftp.riken.jp/Linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
Installing the source of HOP5
Cd/etc/yum.repos.dwget Http://www.hop5.in/yum/el6/hop5.repo
Installing the Golang RPM package
Yum Install-y Golang
Write the first Go language demo, just like all languages, start with Hello World
[Golang@localhost ~]$ cat hello.gopackage mainimport "FMT" Func Main () {FMT. Println ("Hello, World")}
Take a look.
[Golang@localhost ~]$ go run hello.gohello, world.