golang-design-pattern is a collection of design pattern implementations in Go.
The repository provides working code examples for the classic Gang of Four design patterns adapted to Go. It organizes patterns into three categories: creational patterns like Factory Method and Singleton that handle object instantiation; structural patterns like Adapter and Decorator that compose objects into larger structures; and behavioral patterns like Observer and Strategy that define communication between objects and distribute responsibility. Each pattern is implemented as a separate example demonstrating how to apply that pattern in Go code.
This resource suits developers learning design patterns or seeking reference implementations when applying them to Go projects. It works best as a study guide rather than a production library, since each pattern example stands alone as educational code. The repository presents patterns in their traditional form as documented in classic software design literature.
The project maintains a straightforward structure with minimal activity, serving as a stable reference that changes infrequently once patterns are implemented.