go-patterns - Go Design Patterns and Best Practices
Provides Go design patterns for concurrency, interfaces, error handling, functional options, middleware, and project structure.
Tags
Updated: 2026-09-14Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Implement interface-driven design
- Handle errors with context
- Apply concurrency worker pools
- Use functional options pattern
- Implement HTTP middleware
- Structure Go projects
- Run Go quality checks
Inputs
- Go source code
Outputs
- Formatted Go code
- Static analysis reports
- Test execution results
- Compiled binaries
Requirements
- Go 1.21 or higher
- golangci-lint
