Setup
Go has a single, straightforward installer and one of the best tooling experiences in the ecosystem.
Lessons
1
Hello, World!
Go's Hello World is famously minimal. Package declaration, one import, one funct…
→
2
Variables & Types
Go is statically typed, but it has type inference. You get the safety of static …
→
3
Control Flow
Go's for loop is its only loop. No while, no do-while. Just for, wearing three d…
→
4
Functions & Multiple Returns
Go functions can return multiple values. This is how Go does error handling, and…
→
5
Slices & Maps
Go's two primary collection types. Slices are dynamic arrays. Maps are hash tabl…
→
6
Structs & Interfaces
Go favors composition over inheritance. There are no classes, no extends. Just s…
→
7
Mini Project: HTTP Server
Go's standard library includes a production-quality HTTP server. No frameworks n…
→
8
Go Cheatsheet
Syntax, slices, maps, errors, and goroutines on one page.
→