Channels

Connect goroutines with channels: send and receive values, close and range over a channel, and build a pipeline and a worker pool.

Install Go

Install Go on Windows, macOS or Linux, check that it works, and set up VS Code with the official Go extension.

Logging in Go

Log from Go programs with the standard library: the simple log package, then structured, leveled logging with log/slog in text or JSON.