Skip to content

treeforest/go-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Patterns

创建型模式 (Creational Patterns)

  • Abstract Factory Pattern 抽象工厂模式
  • Builder Pattern 建造者模式
  • Factory Method Pattern 工厂方法模式
  • Object Pool Pattern 对象池模式
  • Singleton Pattern 单例模式

结构型模式(Structural Patterns)

  • Adapter Pattern 适配器模式
  • Bridge Pattern 桥接模式
  • Composite Pattern 组合模式
  • Decorator Pattern 装饰者模式
  • Facade Pattern 外观模式
  • Proxy Pattern 代理模式
  • Flyweight Pattern 享元模式

行为型模式(Behavioral Patterns)

  • Chain of Responsibility Pattern 职责链模式
  • Command Pattern 命令模式
  • Mediator Pattern 中介者模式(调停者模式)
  • Memento Pattern 备忘录模式
  • Observer Pattern 观察者模式
  • Registry Pattern 注册模式
  • State Pattern 状态模式
  • Strategy Pattern 策略模式
  • Template Pattern 模板模式
  • Visitor Pattern 访问者模式

同步模式(Concurrency Patterns)

  • Bounded Parallelism Pattern 限制性并行模式
  • Generator Pattern 生成器模式

消息传递模式(Messaging Patterns)

  • Fan-In Messaging Pattern 扇入消息传递模式

Releases

No releases published

Packages

No packages published