This is a creation in Article, where the information may have evolved or changed.
Go Language Rookie Tutorial: http://www.runoob.com/go/go-tutorial.html
Practical Go Programming: http://docscn.studygolang.com/doc/effective_go.html
Online Go Run Environment: HTTPS://TOUR.GOLANG.ORG/WELCOME/1
Go installation: Refer here to install very easy:http://www.runoob.com/go/go-environment.html on Windows
Go Chinese standard library (ctrl+f): http://docscn.studygolang.com/pkg/#stdlib
Go English package Index and search engine: https://godoc.org/
/************************************************************************************************************** ********/
gofmtThe program indents and aligns the GO program to the standard style, preserves annotations, and re-formats as needed. If you want to know how to handle some new code layouts, try running gofmt ;
Semicolons do not appear in the source code. The lexical analyzer automatically inserts a semicolon. Can be summed up as: "If the mark before the new line is the end of the statement, insert a semicolon." The opening brace cannot be placed on the next line, and if you do this, a semicolon is inserted in front of the curly brace, which can cause unwanted effects.
Go no longer uses do or while loop, only a more general for ; Switch be more flexible; if and switch like for Can accept optional initialization statements as well as a new control structure containing type selection and multiplexing: select . Its syntax is slightly different: there are no parentheses, and the body must always be surrounded by braces.