go-patterns
Installation
SKILL.md
Go Patterns
Status: Active | Version: 1.0.0
When to Use
- Building microservices and distributed systems
- High-concurrency servers (APIs, gRPC, WebSocket)
- DevOps tooling and CLI applications
- Cloud-native infrastructure (Kubernetes operators, controllers)
Core Patterns
1. Interface-Driven Design
// Small interfaces — Go proverb: "The bigger the interface, the weaker the abstraction"
type Reader interface {
Read(p []byte) (n int, err error)
}