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

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Go by Example

Go by Example Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Go by Example!

Additional Project Details

Programming Language

Go

Related Categories

Go Libraries

Registered

7 hours ago