This is a created article in which the information may have evolved or changed.
GolangGoogle developed a compiled, parallel, with garbage collection function of the compilation language, and C has pointers.
Golangis a natural network programming language, learning to use the Golang first starting from the environment configuration.
Environmental requirements:
HomerbrewInstallation reference: http://brew.sh/
Installing Golang
Golanghttps://golang.org/project/can be compiled by source code itself, and installation is recommended for administrative and upgrade purposes Homerbrew .
To install directly using the command line Golang :
Brew Install Go
==> Downloading https://homebrew.bintray.com/bottles/go-1.7.el_capitan.bottle.tar.gz######################################################################## 100.0%==> Pouring go-1.7.el_capitan.bottle.tar.gz==> CaveatsAs of go 1.2, a valid GOPATH is required to use the `go get` command: https://golang.org/doc/code.html#GOPATHYou may wish to add the GOROOT-based install location to your PATH: export PATH=$PATH:/usr/local/opt/go/libexec/bin==> Summary