Language focus
AI code review for Go
Go prides itself on small concepts, yet production risk clusters around concurrency, context propagation, error wrapping discipline, and interface boundaries chosen under schedule pressure.
Where CodeCritic concentrates for Go
- Goroutine leaks from blocking sends, forgotten `Done()` calls, or context misuse across layered libraries.
- Error strings that collapse distinct failure modes into one sentinel - breaking observability at scale.
- HTTP middleware ordering, header trust, and timeouts that silently disable backpressure protections.
- Pointer aliasing shared structs across goroutines without clear ownership conventions.
Bench numbers and benchmarks live outside CodeCritic - keep profiling for hotspots that correctness tools cannot see.