100% in your browser
Learn Go by doing.
A complete path from your first fmt.Println to goroutines and channels. Theory lessons and graded exercises run right in your browser — no setup, no installs.
Start learning0/91 exercises completed
13chapters
91exercises
2languages
0installs
01
Read the lesson
Each chapter opens with a theory lesson written for beginners.
02
Write Go in the browser
A real Go interpreter runs your code instantly, right on your machine.
03
Get graded instantly
Your output is compared against the expected result, with hints when you get stuck.
The path
- 01Hello, Go0/7Write and run your very first Go program: package main, imports, fmt.Println.
- 02Variables and typesLockedvar and :=, numbers, strings, booleans, and the printf family.
- 03Control flowLockedif, else, switch, and the only loop in Go: for.
- 04FunctionsLockedDeclaring functions, parameters, multiple and named returns, defer.
- 05Slices and mapsLockedArrays, slices, append, range, and key-value maps.
- 06StringsLockedThe strings package, concatenation, and unicode basics.
- 07Structs and methodsLockedCustom types, structs, methods, and pointer receivers.
- 08ErrorsLockedThe error type, fmt.Errorf, wrapping with %w, and errors.Is.
- 09InterfacesLockedDefining interfaces, type assertions, and the empty interface.
- 10PointersLockedWhat & and * really mean, and when to mutate data.
- 11ConcurrencyLockedGoroutines, channels, select, and sync basics.
- 12CLI toolsLockedos.Args, bufio.Scanner, strconv: build a real command-line program.
- 13CapstoneLockedTwo boss exercises: put everything together in one program.
No setup. No backend. Real Go.
Every lesson and exercise runs on your machine. A real Go interpreter in the browser — your code never leaves it.
Start learning