go-design-patterns
Installation
SKILL.md
Go Design Patterns
Go favors composition over inheritance and simplicity over abstraction. These patterns are idiomatic Go — not Java patterns ported to Go.
Detailed reference material, loaded on demand:
references/creation-patterns.md— functional options (full example), options vs config struct, constructors, factory.references/behavioral-patterns.md— strategy, middleware/decorator, result type, defer cleanup, sentinel vs zero values.
Read a reference file only when the summary below is not enough.