Idiomatic Go conventions: explicit error handling, table-driven tests, no premature interfaces, and slog for structured logs.