Go language Learning

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.