What is go?
Go is a compiled system programming language with concurrent support and garbage collection designed to create a well-balanced programming language with high performance and efficient development of dynamic languages in statically compiled languages.
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 solve the problem of too many header files in C language: To remove the actual unused header files, if the header file is not used will jump out of the compilation exception)
* Provides performance-enhancing solutions for multi-core computers
* UTF-8 Encoding Support
What is the value of Go existence?
Go in Google: Language design for the purpose of software engineering http://blog.jobbole.com/36480/
Is go notepad programmed?
Ides including Vim, Idea, Sublime Text, eclipse, etc. are supported
How many actual applications and resources does go currently have?
* The world's largest video site YouTube (Google)
* Seven Qiniu Storage and its network services (Q-disk)
* Enthusiasts to develop the Go Forum and blog
* Already on the server use go development of the famous enterprise: Google, Shanda, seven cattle, 360
* Other open source projects can be found on these three sites: Go-wiki,godoc,go Language Resources
Has go grown?
As a 2009-year-old programming language, go is very young and therefore cannot be called a mature programming language, but the development community is constantly updating its core code every day, giving us these enthusiasts a great motivation to learn and develop.
Are there many fans of go?
Google Group-based mailing list will be updated daily 10 to 20 stickers, the domestic go Enthusiasts QQ Group and the Forum is also engaged in a lot of discussions every day, so you can say that the go fan community is enough to grow.
Install the Go language
* Go Source installation
* Go Standard Pack installation Https://golang.org/doc/install?download=go1.6.3.windows-amd64.msi
* Third Party installation
Configure the environment variable Goroot to the Go installation location for D:\Program Files\go
Add in environment variable path:%goroot%\bin
Add environment variable Gopath (described below)
Go environment variables and working directory (command line input go env can see go environment variables)
* BIN (store the compiled executable file)
* PKG (store the generated package files after compilation)
* SRC (Store project source code)
Go command
Enter go at the command line or terminal to view all supported commands
Introduction to go common commands
* Go get: Get remote package (need to install Git or Hg in advance)
* Go run: Run the program directly
* Go BUILD: Test compile, check for compilation errors
* Go FMT: Formatted source code (some Ides are automatically called when saved)
* Go install: Compile the package file and compile the entire program
* Go TEST: Run the testing file
* Go doc: View document (CHM document) (e.g. I want to view a FMT package, I'll enter: Go Doc fmt)
Enter godoc-http=:8080 to open the reference page in a local localhost:8080.
Windows Build Sublime Text 3 + Go development environment: http://blog.csdn.net/cyxcw1/article/details/10329481
Go language learning Note 1 GO development environment