Hero roadmap: the whole course on one page

All 50 lessons

The course below runs from setup to capstones in fifty steps. Lessons 01 to 40 are listed by number only, and every link opens the course index at Go course. The integrator will replace these placeholders with exact lesson addresses.

Lessons 01 to 10: first steps.

Lessons 11 to 20: core language.

Lessons 21 to 30: standard library.

Lessons 31 to 40: tools and practice.

Lessons 41 to 50: advanced topics and capstones.

How to practice

Reading builds vocabulary, but typing builds skill. Work through every lesson with an editor open, type each program by hand, run it, and break it on purpose to see the error messages.

Change one thing at a time after the example works: new input, new limits, new order. Small edits teach faster than big rewrites because every result maps to exactly one decision.

The classic drill below prints numbers with word swaps for multiples. Type it, run it, then extend the rules and cover the new branches with a table test.

package main import ( "fmt" ) func main() { for i := 1; i <= 15; i++ { switch { case i%15 == 0: fmt.Println("fizzbuzz") case i%3 == 0: fmt.Println("fizz") case i%5 == 0: fmt.Println("buzz") default: fmt.Println(i) } } }

1

2

fizz

4

buzz

fizz

7

8

fizz

buzz

11

fizz

13

14

fizzbuzz

Two capstones, revisited (48+49)

The course ends with two projects that reuse everything before them. Rebuild each one from an empty folder without peeking, and compare the result with the lesson only at the end.

Start with Lesson 48: Capstone: wordfreq CLI, which turns flags and standard input into ranked word lists. Then build Lesson 49: Capstone: JSON API server, which serves the same counting logic over HTTP with tested JSON handlers.

Where to go next

Graduation means reading real code and writing small tools every week. The Golang hub collects the next references for that habit.

Next: Go course

Article author: Arthur Isaev

Banner image