Go backend
Go types, services, SQL, context cancellation and bounded concurrency.
6 lessons in mid · 9 practice activities
Go foundations
Lessons
- Decode JSON strictly and test the contract Mid · 12 min
- Write table-driven tests with useful names Mid · 12 min
- Treat zero values and ownership deliberately Mid · 12 min
Practice
| Activity | Type | Level | |
|---|---|---|---|
| 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
- Read database rows safely Mid · 12 min
- Bound outbound HTTP calls Mid · 12 min
- Retry without multiplying side effects Mid · 12 min