DevPath

Go backend

Go types, services, SQL, context cancellation and bounded concurrency.

12 lessons in all levels · 9 practice activities

Start learning

Go foundations

Lessons

  1. Return useful Go errors Foundation · 13 min
  2. Design small interfaces and safe slices Foundation · 12 min
  3. Decode JSON strictly and test the contract Mid · 12 min
  4. Write table-driven tests with useful names Mid · 12 min
  5. Treat zero values and ownership deliberately Mid · 12 min
  6. Keep a Go package contract stable Senior · 16 min

Practice

ActivityTypeLevel
Depend on an interface, not a struct practical lab Mid Preview
Filter a slice into a new backing array fluency Foundation Preview
Reject unknown JSON fields practical lab Mid Preview
Return an error callers can inspect fluency Mid Preview
Write a table-driven test tests Foundation Preview

Services and concurrency

Lessons

  1. Carry cancellation through Go services Foundation · 14 min
  2. Fan out with bounded workers Foundation · 12 min
  3. Read database rows safely Mid · 12 min
  4. Bound outbound HTTP calls Mid · 12 min
  5. Retry without multiplying side effects Mid · 12 min
  6. Shut down a busy Go service safely Senior · 16 min

Practice

ActivityTypeLevel
Fan out with a bounded worker pool practical lab Mid Preview
Fetch concurrently and return the first error practical lab Mid Preview
Propagate cancellation through the call chain debugging Mid Preview
Scan rows safely and check for errors practical lab Mid Preview