Skip to content

hxmqd/design-pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

design-pattern (设计模式)

software design pattern implement by go

用go语言实现的设计模式

Design patterns represent best practices and are often adopted by experienced object-oriented software developers.
Design pattern is a solution to common problems faced by software developers in the process of software development.
These solutions are summarized by many software developers after a long period of trial and error.

设计模式(Design pattern)代表了最佳的实践,通常被有经验的面向对象的软件开发人员所采用。 设计模式是软件开发人员在软件开发过程中面临的一般问题的解决方案。这些解决方案是众多软件开 发人员经过相当长的一段时间的试验和错误总结出来的。

创建型模式(creational-pattern)

  • 简单工厂模式(Simple Factory)
  • 工厂方法模式(Factory Method)
  • 抽象工厂模式(Abstract Factory)
  • 创建者模式(Builder)
  • 原型模式(Prototype)
  • 单例模式(Singleton)

结构型模式(structural-pattern)

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

行为型模式(behavioral-pattern)

  • 中介者模式(Mediator)
  • 观察者模式(Observer)
  • 命令模式(Command)
  • 迭代器模式(Iterator)
  • 模板方法模式(Template Method)
  • 策略模式(Strategy)
  • 状态模式(State)
  • 备忘录模式(Memento)
  • 解释器模式(Interpreter)
  • 职责链模式(Chain of Responsibility)
  • 访问者模式(Visitor)

About

golang design pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages