Skip to content

Latest commit

 

History

History
97 lines (85 loc) · 3.34 KB

README-EN.md

File metadata and controls

97 lines (85 loc) · 3.34 KB

🚀 Use golang to combat 23 design patterns

php

中文版 

About

Knowledge and practice are used in an integrated way

Simple structure

├── Package
│   ├── Behavioral
│   │   ├──  [ ] ChainOfResponsibilities
│   │   ├──  [ ] Command
│   │   ├──  [ ] Iterator
│   │   ├──  [ ] Mediator
│   │   ├──  [ ] Memento
│   │   ├──  [ ] NullObject
│   │   ├──  [ ] Observer
│   │   ├──  [ ] Specification
│   │   ├──  [ ] State
│   │   ├──  [ ] Strategy
│   │   ├──  [ ] TemplateMethod
│   │   └──  [ ] Visitor
│   ├── Creational
│   │   ├──  [ ] AbstractFactory
│   │   ├──  [ ] Builder
│   │   ├──  [ ] FactoryMethod
│   │   ├──  [ ] Multiton
│   │   ├──  [ ] Pool
│   │   ├──  [ ] Prototype
│   │   ├──  [ ] SimpleFactory
│   │   ├──  [√] Singleton
│   │   │   ├── doubleLock
│   │   │   │   └── main.go
│   │   │   ├── hungry
│   │   │   │   └── main.go
│   │   │   └── lazy
│   │   │       └── main.go
│   │   └── StaticFactory
│   └── Structural
│       ├──  [ ] Adapter
│       ├──  [ ] Bridge
│       ├──  [ ] Composite
│       ├──  [ ] DataMapper
│       ├──  [ ] Decorator
│       ├──  [ ] DependencyInjection
│       ├──  [ ] Facade
│       ├──  [ ] FluentInterface
│       ├──  [ ] Flyweight
│       ├──  [ ] Proxy
│       └──  [ ] Registry
│     
├── LICENSE
├── README-CN.md
└── README.md

Correct the mistakes

If you find something wrong, you can initiate a issueor pull request,I will correct it in time

补充:发起pull request的commit message请参考文章Commit message 和 Change log 编写指南

Contributors

Marco

License

MIT