explaingit

inancgumus/learngo

20,020GoAudience · developerComplexity · 1/5QuietLicenseSetup · easy

TLDR

A collection of 1,000+ Go programming exercises and quizzes for learning by doing, from basics to design patterns.

Mindmap

mindmap
  root((repo))
    What it does
      1000+ exercises
      Hands-on problems
      Quiz questions
    Learning approach
      Fix broken code
      Complete gaps
      Practice patterns
    Topics covered
      Go basics
      Design patterns
      Best practices
    Audience
      Programmers learning Go
      Udemy course students
      Self-taught developers
    Availability
      English content
      Spanish translation
      Chinese translation

Things people build with this

USE CASE 1

Work through 1,000+ small Go exercises to build hands-on programming skills from scratch.

USE CASE 2

Follow along with the Udemy Go bootcamp course using the provided exercise files.

USE CASE 3

Practice Go design patterns and best practices with concrete, runnable code examples.

USE CASE 4

Learn Go fundamentals by fixing intentionally broken programs and completing incomplete code.

Tech stack

Go

Getting it running

Difficulty · easy Time to first run · 5min
Use freely for learning and sharing, but not for commercial purposes; you must credit the author and share any modifications under the same license.

In plain English

This repository is a large collection of Go programming examples, exercises, and quizzes, over 1,000 of them, designed for learning Go by doing rather than just reading. The material was originally created to accompany a paid Go bootcamp course on Udemy, but the author made the entire collection freely available here so anyone can learn without enrolling in the course. The learning approach is hands-on: small programs with intentional problems or gaps that you fix or complete, rather than passive tutorials. Topics span Go basics through design patterns and best practices. The exercises are available in English, with Spanish and Chinese translations in progress. The content is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0, meaning it can be shared freely but not used commercially. You would use this repository if you are a programmer already familiar with at least one language who wants to learn Go by practicing on many small, concrete problems, or if you are following along with the corresponding Udemy course and want the exercise files.

Copy-paste prompts

Prompt 1
I'm learning Go and want to practice with small, concrete exercises. How do I set up and run the exercises from this learngo repository?
Prompt 2
Show me how to solve the first few exercises in the learngo repo to understand the pattern of how they're structured.
Prompt 3
I'm stuck on a Go exercise in learngo. Can you help me understand what the exercise is asking and guide me toward a solution?
Prompt 4
What are the best Go design patterns covered in learngo, and can you show me examples of how they're implemented?
Prompt 5
I'm following the Udemy Go bootcamp course. How do I use the learngo repository exercises alongside the course?
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.