Learn Go Online — Free Interactive Course

Free Go Course · Course overview & lesson outline

Learn Go Online — Free Interactive Course

Go from the Ground Up: 5 chapters of visual explanations and 22 hands-on exercises, from foundations to reliable programs and applied projects.

Learn Go online with 22 free interactive lessons. Practice Go syntax, functions, collections and console programs in your browser. Read each explanation, edit the starter code, and try the exercise to check your understanding.

Beginner · 22 lessons · About 3.5 hours. Learn at your own pace.

What you’ll learn

Chapter 1: Gopher Basics & Formatting

The Gopher workshop, the walrus operator (:=), fmt.Printf stencils, and pizza math.

  1. 1. Hello, Friendly Gopher!
  2. 2. The Magic Label Maker (:=)
  3. 3. Stencils with fmt.Printf
  4. 4. Stone Tablets & Pizza Math

Chapter 2: Flow Control & Slices

Theme park turnstiles, universal for loops, stretchy slices, range loops, and sub-slices.

  1. 5. The Theme Park Turnstile
  2. 6. The Universal Spinning Wheel
  3. 7. The Stretchy Conveyor Belt
  4. 8. The Conveyor Belt Scanner
  5. 9. The Window Frame Cutter

Chapter 3: Structs, Maps & Clean Design

Locker maps, custom struct molds, method voice boxes, multiple returns, and space command.

  1. 10. The Secret Decoder Lockers
  2. 11. The Custom Toy Mold
  3. 12. Action Figures with Voice Boxes
  4. 13. The Two-Compartment Lunchbox
  5. 14. Capstone: Space Mission Command

Chapter 4: Reliable functions & interfaces

Errors, pointers, deferred work, and small behavior contracts using interpreter-supported Go.

  1. Return an error explicitly
  2. Change a value through a pointer
  3. Schedule work for function exit
  4. Describe behavior with an interface

Chapter 5: Standard tools & an applied project

Sort values, handle Unicode, decode JSON, and produce a checked report.

  1. Sort a slice deliberately
  2. Bytes and Unicode characters
  3. Decode a structured message
  4. Project: a checked inventory report

Is this course free?

All lessons and coding exercises are free to explore without an account. Progress is saved in this browser. Optional account and Supporter features have separate terms.

Can I learn offline?

Open the course and its language while connected. Wait for “Available offline” before disconnecting. Saved lessons and the editor can be used offline. Some lesson images may still need internet access. Cloud sync and AI require internet access.