Go by Example is a large hands-on curriculum for learning the Go programming language through examples, exercises, quizzes, and small projects. It contains more than a thousand hand-crafted programs intended to be fixed, completed, or studied directly. Lessons progress from installation and first programs through variables, control flow, arrays, slices, strings, maps, structs, functions, pointers, interfaces, and concurrency. Several sections introduce practical projects such as a retro LED clock, file finder, text wrapper, and spam masker. The material originated in a Go bootcamp and was later released for free independent study. English content is complete, while Spanish and Chinese translations are works in progress. The repository emphasizes learning by doing instead of relying mainly on long-form theory.
Features
- More than 1,000 Go examples and exercises
- Hands-on quizzes and debugging practice
- Progressive beginner-to-advanced lesson structure
- Practical programming projects
- Interfaces and concurrency learning material
- English, Spanish, and Chinese learning tracks