Golang Basics
Core Conventions
- Always pass
context.Contextthrough request lifecycle. - Return typed
errorvalues instead of string conventions. - Define interfaces near the caller side.
Baseline Checklist
- Type system and zero value semantics
- Functions, methods and receivers
- Interfaces and dependency injection
- Error handling and wrapping

