Go Idioms Error Handling Rules: - Always wrap errors with context using - Use to allow callers to use and - Handle errors at the appropriate level; do not log and return the same error - Define sentinel errors for expected conditions Interface Design Rules: - Define interfaces where they are used (consumer side), not where they are implemented - Prefer small, composable interfaces over large ones - Use , , from the standard library - An interface with one method should be named after the method + suffix Goroutine and Channel Patterns Worker Pool Fan-out/Fan-in Rules: - Always pass as the firs…