This is an old revision of the document!
Overview
Stuff regarding Go programming language.
Figure out
- proper brace placement to avoid semicolon insertion
- “import path” versus “package name”
- fmt.Printf() format specifiers
- named return values
- type “zero values”
- how to list all package methods from the command line?
- how multi-platform things like Sqrt() work?
- possible formats of for loop
- neat uses of “defer” statements (stacked)
- deferred call args are evaluated immediately
- package “init” functions
Course outline
- installation
- /usr/lib/golang package structure (Go 1.13), personal src structure
External links
Official Go home page
Articles on Go
- Why should you learn Go? (Jan, 2017)
- The beauty of Go (Oct, 2017)
- What's the Go language really good for? (Jun, 2017)
- About Go Language -- An Overview (Sep, 2017)