Introduction and installation of Go language

http://www.runoob.com/go/go-tutorial.html

Go is an open source programming language that makes it easy to construct simple, reliable, and efficient software.

Go was developed in late 2007 by Robert Griesemer, Rob Pike, Ken Thompson, and later joined by Ian Lance Taylor, Russ Cox and others, and was finally open sourced in November 2009, and Go 1 stable was released in early 2012 Version. Go development is now fully open and has an active community.

 

Install:

 
1. The go language is cross-platform and can support the installation of windows/linux/mac.
2. After the download and installation of windows is completed, you need to configure the code working directory of go, GOPATH. The default installation will automatically set GOROOT. 
3. For cmd, you can enter go env to view the compilation environment of go
4.go run hello.go Immediately possible go step introduction-hello.go
 
 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325528652&siteId=291194637