How to use this module
Go interviews follow a stable pattern: a screen on the language itself (types, slices, maps, interfaces, errors), a technical round that goes deep on concurrency — goroutines, channels, select, context, races — and, for experienced roles, a conversation about running Go services in production. The questions below are grouped the same way, and each answer links back to the module that teaches it.
- Say the answer out loud before opening it. Recognising an answer when you read it is not the same as producing it under pressure.
- Read the "what they are really testing" line. It tells you where the follow-up question will go, which is where most candidates lose points.
- Back every claim with code you have run. The modules this draws on — Arrays, Slices & Maps, Interfaces, Goroutines & Channels — have examples you can paste into
main.go.
b.Loop (1.24), container-aware GOMAXPROCS and WaitGroup.Go (1.25), errors.AsType and new(expr) (1.26), methods with their own type parameters (1.27). Say which version a behaviour arrived in — many production services are a few releases behind, and it shows you know the difference.