ToolPopToolPop
22 lessons

Go, for the backend job you actually want

Twenty lessons. Beginner path covers the language itself. Senior path goes deep on concurrency, the memory model, and the patterns interviewers love. Built for the senior backend interview.

Senior path12 lessons

Deep dive for interview prep. Mental models, traps, execution flow.

  1. 11

    The memory model, stack vs heap, and escape analysis

    Why some allocations escape to the heap and how to read the compiler hints.

    8 min read
  2. 12

    Goroutines and channels, the deep dive

    Unbuffered vs buffered, the select statement, fan-in / fan-out, worker pools.

    10 min read
  3. 13

    context.Context, cancellation, and deadlines

    The single most-asked Go interview topic. How requests get cancelled cleanly.

    8 min read
  4. 14

    sync.Mutex, RWMutex, WaitGroup, atomic, Once

    When to reach for each, the trap of copying a Mutex, and the atomic vs Mutex question.

    8 min read
  5. 15

    Interfaces deep, method sets, and composition over inheritance

    Pointer receivers vs value receivers, the empty interface, and why Go has no class system.

    8 min read
  6. 16

    Error wrapping, sentinel errors, errors.Is and errors.As

    The post-Go 1.13 error model, custom error types, and what NOT to do.

    7 min read
  7. 17

    Generics: when to use, when to skip

    Type parameters, constraints, and the senior judgment of "is this worth a generic?"

    8 min read
  8. 18

    Channel patterns: pipelines, fan-out/in, semaphore, rate limiter

    The classic concurrency patterns every senior Go engineer has on tap.

    9 min read
  9. 19

    pprof, benchmarks, and finding the real hotspot

    How to profile, what allocations to chase, and the testing.B pattern.

    8 min read
  10. 20

    net/http patterns: middleware, graceful shutdown, request scoping

    Build a production-grade HTTP server without a framework.

    9 min read
  11. 21

    Testing deep: table-driven, subtests, mocks, race detector

    How Go teams actually test. Hint: not how you tested in Java.

    8 min read
  12. 22

    Coding interview patterns in Go: rate limiter, worker pool, LRU, pub/sub

    The five implementations every senior Go interview will ask you to write.

    10 min read