Loading

from first concept to confident practice

Go

Build clear programs and learn the language designed for simple concurrency.

Start learning 9 lessons · first lesson about 14 min · free · no account needed
About this track

Learn Go from package main and fmt.Println through values, decisions, loops, slices, functions, structs, goroutines, explicit error handling, maps, and practical reporting workflows. Every lesson includes a quick check, quiz, and a program you can compile and run against sample input.

Before you start
  • No prior programming experience needed.
  • A modern browser with JavaScript enabled.
  • A network connection is needed to run exercises with Compiler Explorer.
Loading progress…
  1. Unit 1 · 0/2 lessons

    Getting started

    Run a Go program and work with basic values. Badge: First package

    1. 0x001Run your first Go programMeet package main, the main function, and fmt.Println. 14 min 0/1 exercises solved 14 min 0/1 exercises solved
    2. 0x102Name values and choose typesStore numbers, text, and true/false values. 14 min 0/1 exercises solved 14 min 0/1 exercises solved
  2. Unit 2 · 0/2 lessons

    Decisions and repetition

    Branch, loop, and process collections of values. Badge: Flow controller

    1. 0x203Make decisions with ifChoose different behavior based on a condition. 14 min 0/1 exercises solved 14 min 0/1 exercises solved
    2. 0x304Repeat work with loops and slicesUse Go’s for loop and a flexible list of values. 14 min 0/1 exercises solved 14 min 0/1 exercises solved
  3. Unit 3 · 0/2 lessons

    Functions and concurrency

    Build reusable functions and coordinate concurrent tasks. Badge: Go orchestrator

    1. 0x405Write reusable functionsPass values to functions and return results. 14 min 0/1 exercises solved 14 min 0/1 exercises solved
    2. 0x506Model data and run concurrent workGroup fields in a struct and coordinate a goroutine with a channel. 14 min 0/1 exercises solved 14 min 0/1 exercises solved
  4. Unit 4 · 0/3 lessons

    Practical Go flows

    Handle imperfect input and build deterministic grouped reports. Badge: Automation finisher

    1. 0x607Handle errors and validate inputUse explicit error checks to keep Go programs reliable. 14 min 0/1 exercises solved 14 min 0/1 exercises solved
    2. 0x708Aggregate data with mapsGroup and count values using map lookups and updates. 14 min 0/1 exercises solved 14 min 0/1 exercises solved
    3. 0x809Practical lab: build an order summaryCombine parsing, validation, and grouping in one realistic workflow. 14 min 0/1 exercises solved 14 min 0/1 exercises solved