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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
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