Go
Go Code Typing
33 Go typing lessons in 5 modules: symbol drills for := and <-, real snippets, 5 speed runs, and 4 assessment simulations.
- 33 lessons
- About 2.8 hrs
- 5 parts
- 4 full simulations
- $9
What's in this course
5 parts, 33 lessons. Each lesson takes a few minutes.
- 1Operators & SymbolsGo punctuation and channel arrowsUp next22 wordsFree
- 2Short DeclarationsThe := operator and multi-value assignment9 linesFree
- 3Channel ArrowsSends, receives, and directional chan types14 linesFree
- Pointers & ReceiversStar, ampersand, and nil checks on methods11 lines
Free preview ends here
The other 26 lessons and 4 full simulations are in Go Code Typing: $9, one time, lifetime access.
- Composite Literals & TagsSlice, map, and struct literals with backtick tags9 lines
- Error Wrapping & Verbs%w wrapping plus %v %s %q %T formatting10 lines
- Checkpoint: Symbol FluencyEvery Go glyph cluster from this module in one longer drill16 lines
- KeywordsGo reserved words drilled in rhythm3 lines
- DeclarationsStructs, interfaces, and functions9 lines
- Interfaces & EmbeddingSmall interfaces, embedding, and compile-time checks12 lines
- defer, panic & recoverCleanup that runs no matter which path returns17 lines
- Idiomatic PatternsCommon Go one-liners6 lines
- Generics & ConstraintsType parameters with [T any] and comparable14 lines
- Checkpoint: Keywords & IdiomsA rate limiter that mixes this module's material28 lines
- Control FlowError handling, loops, and type switches15 lines
- Functions & MethodsIdiomatic Go functions16 lines
- Mutex-Guarded CounterA concurrency-safe type with a constructor and methods23 lines
- Custom Error TypesSentinel errors, an Error() method, and errors.As24 lines
- Maps & SlicesGrouping with append and ranking with sort.Slice20 lines
- Realistic SnippetHTTP handler with JSON and context32 lines
- Table-Driven TestsSubtests with t.Run over a case table21 lines
- Checkpoint: Real SnippetsA bufio.Scanner log filter mixing this module's material29 lines
- Speed Run: HTTP MiddlewareHandler chaining typed end to end without stopping16 lines
- Speed Run: Context Fan-OutWaitGroup fan-out under a WithTimeout deadline22 lines
- Speed Run: Ranking Reportsort.Slice over aggregated totals at full pace24 lines
- Speed Run: JSON Round TripMarshal and unmarshal with struct tags and wrapped errors24 lines
- Speed Run: Ticker & ShutdownA select loop batching work until ctx.Done()24 lines
- Checkpoint: Sustained SpeedA server with graceful shutdown typed in one continuous run34 lines
- Assessment Sim 1: Word FrequencyA complete stdin word counter with a ranked printout39 lines
- Assessment Sim 2: RPN CalculatorA complete stack evaluator with explicit error returns52 lines
- Assessment Sim 3: Inventory LedgerA full stock-movement program that rejects oversell34 lines
- Assessment Sim 4: Worker PoolA channel fan-out with WaitGroup and collected results55 lines
- Checkpoint: Go Mastery FinalA tabwriter latency report -- the course's graded final38 lines
About this course
For Go developers who want to stop fighting `:=` and `if err != nil`. The course is 33 lessons across 5 modules: 7 symbol drills covering short declarations, channel arrows, pointer receivers, composite literals with struct tags, and `%w` error wrapping; 7 keyword and idiom drills; 8 real snippets from services you would actually ship; 5 sustained speed runs; and a final block of 4 assessment simulations -- complete, runnable programs -- plus a graded mastery checkpoint.
