This is a creation in Article, where the information may have evolved or changed.
Go is a simple parallel development that was released in 2009, and a cross-platform class C language. Because of its strong parallelism, it is suitable for network development.
Introduction from its website:
The Go programming language is an open source project that makes programmers more efficient. Go is expressive, concise, clear, and efficient. Its parallel mechanism makes it easy to write multicore and Web applications, while the novelty type system allows for the building of resilient modular programs. Go compiles to machine code very quickly, with convenient garbage collection and powerful runtime reflection. It is a fast, statically typed compilation language, but it feels like a dynamic type, interpreted language.
-
Windows Go Environment configuration
1) binary configuration
- download. zip file at official website go:https://golang.org/dl/, current stable version is version go1.4.2 , the latest version is go1.5beta3.
- Unzip to the pointing disk, such as C \
- to ensure that the content is C:\Go. Note: When extracting the zip file, this directory is created;
- add C:\Go\bin to $PATH:
Export Path=c:\go \bin
2) Use the Setup Wizard
- to download the. msi file in https://golang.org/dl/;
- install to the specified location.
After installation, enter the following command in the console to indicate success:
-
Compile run go program