Common Tips & Mistakes in Go — and How to Fix Them
summary
Overview of common tips and mistakes when programming in Go, focusing on practical issues encountered when building HTTP servers and CLIs and how to fix and avoid them. Covers Go tooling and ecosystem context (Docker, Kubernetes, Terraform, Helm are written in Go) and provides concrete solutions and best practices drawn from real-world experience.
AI-written summary · about
chapters (9)
- 0:00Start
- 3:55UNIT TESTS
- 12:38CHECK ERRORS EVERY TIME
- 14:04BREAK CORRECTLY A LOOP/SWITCH
- 15:22CONTEXT
- 19:02STRINGS SUBTLETIES
- 21:33READER CAN BE READ ONLY ONCE
- 26:36GOROUTINES & MEMORY LEAKS
- 29:02RELEASING EASILY








