About this project

# Go Design Patterns This is a repository of example code implementing classic design patterns in the Go language, derived from reading notes on 'Refining Design Patterns' (研磨设计模式). Each pattern has its own directory and runnable example code, suitable as a reference for learning design patterns in Go. ## Creational Patterns - Simple Factory - Factory Method - Abstract Factory - Builder - Prototype - Singleton ## Structural Patterns - Facade - Adapter - Proxy - Composite - Flyweight - Decorator - Bridge ## Behavioral Patterns - Mediator - Observer - Command - Iterator - Template Method - Strategy - State - Memento - Interpreter - Chain of Responsibility - Visitor The repository organizes directories by pattern category, with each pattern corresponding to a numbered directory for easy sequential reference and learning.