GoIntermediateabout 8 hours16 lessons
Recommended first: Gopher Post
Keep the books of a mountain-rescue gear depot with one growing Go program. You start with a shelf of ropes and finish with a ledger that imports a stock file, reads the day's movement log line by line, dispatches every movement through interfaces, refuses bad records with typed errors, reconciles the shelves and proves its own parsers with a table of tests. The ledger board shows every bin, the handler that dealt with each movement, the rejected-records inbox, the import's decoded and failed fields, the SKU checks and your test results.
Each lesson adds one working part to your build.
Chapter 1
Give the depot's types real behaviour: methods, small interfaces, type switches and embedding.
Chapter 2
Print stock so people can read it, refuse bad movements with errors that explain themselves, and index the shelves.
Chapter 3
Write code once for many types with generics, then decode and validate the supplier's JSON.
Chapter 4
Check codes with regular expressions, read the movement log line by line, test your own parsers, and close the books.