DevPath

Go backend

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

4 lessons in foundation · 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

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

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