Hero roadmap: the whole course on one page

Contents
All 50 lessons
How to practice
Two capstones, revisited (48+49)
Where to go next

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

Related articles
Golang
Go course: zero to hero in 50 lessons
What is Go and where it runs
Install Go and check the version
Your first Go program
Modules with go mod
Variables
Constants
Types
Numbers
Strings
Conditions with if
Switch in Go
Loops with for
Arrays in Go
Slices in Go
Maps in Go
Functions in Go
Errors as values
Pointers in Go
Structs in Go
Methods in Go
Interfaces in Go
Embedding instead of inheritance
Generics in Go
Packages and imports
The go toolchain
Testing with go test
Advanced errors
defer in Go
Strings, bytes and runes
Time in Go
JSON
Files and IO
HTTP servers
HTTP clients
Context
Goroutines
Channels
select and sync
CLI: args, flags, env
Logging
Regular expressions
Sorting
Concurrency patterns
Databases with database/sql
Benchmarks and profiling
Toolchain and CI
Project layout
Capstone: wordfreq CLI
Capstone: JSON API server
Hero roadmap: the whole course on one page
Install Go on Windows 11
Install Go on Ubuntu
Install Go on Rocky Linux
Install Go on macOS
Install Go on FreeBSD
Go in Docker

Search this site

Channel @aofeed Chat @aofeedchat

Contacts and cooperation:
I recommend our hosting beget.ru
Write to info@urn.su if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: