Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/dove-one/Go-Design-Patterns

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/dove-one/Go-Design-Patterns

  • v0.0.0-20221206072940-9db606a77747
  • Source
  • Go
  • Socket score

Version published
Created
Source

Go-Design-Patterns

23 design patterns by golang

重新整理补充中

  • 创造型
    1. 单例模式
    2. 工厂模式
    3. 建造者模式
    4. 原型模式
  • 结构性
    1. 代理模式
    2. 桥接模式
    3. 装饰器模式
    4. 适配器模式
    5. 门面面试
    6. 组合模式
    7. 享元模式
  • 行为型
    1. 观察者模式
    2. 模板模式
    3. 策略模式
    4. 责任链模式
    5. 状态模式
    6. 迭代器模式
    7. 访问者模式
    8. 备忘录模式
    9. 命令模式
    10. 解释器模式
    11. 中介模式

参考资料:

  1. http://service.qbjavawa.top/time/beautyOfDesignPatterns.html 《设计模式之美》
  2. http://lailin.xyz/ mohuishou博客
  3. https://juejin.cn/post/7095581880200167432 掘金
  4. https://github.com/tmrts/go-patterns tmrts/go-patterns

FAQs

Package last updated on 06 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc