golang•19 lessons•2 references

Go from Scratch

Hands-on Go course: from your first program and memory layout to goroutines, net/http servers, and PostgreSQL

course goals
→write, run, and read Go programs
→explain how slices, maps, pointers, and interfaces work — asked at almost every interview
→write concurrent code: goroutines, channels, select, sync, context
→build a backend service: an HTTP API on net/http, PostgreSQL via pgx, migrations

~ learning tracks

Every chapter in order, with homework and 1-3-7-21 spaced repetition — from installing Go to your own API on PostgreSQL.

~ course syllabus

19 of 19 lessons
~ how to study
goals
  • →write, run, and read Go programs
  • →explain how slices, maps, pointers, and interfaces work — asked at almost every interview
  • →write concurrent code: goroutines, channels, select, sync, context
  • →build a backend service: an HTTP API on net/http, PostgreSQL via pgx, migrations
approach
Active recall: In "Check yourself", answer aloud or in writing first, then reveal the answer
Spaced repetition: Revisit a chapter after 1, 3, 7, and 21 days
Attempt first, hint later: Do the homework yourself; open the reference solution only after your own version
Predict the output: Before running an example, write down what it prints; a mismatch is a gap in understanding
Explain in your own words: Retell the chapter "Key takeaways" without peeking (the Feynman technique)
Interleaving: Once a week, do a mixed drill over "Go — interview questions"