mirror of
https://github.com/tmrts/go-patterns.git
synced 2024-11-25 06:26:06 +03:00
*: trim trivial patterns
This commit is contained in:
parent
6a717fe88c
commit
dfeef556df
@ -25,13 +25,11 @@ A curated collection of idiomatic design & application patterns for Go language.
|
|||||||
|
|
||||||
| Pattern | Description | Status |
|
| Pattern | Description | Status |
|
||||||
|:-------:|:----------- |:------:|
|
|:-------:|:----------- |:------:|
|
||||||
| [Adapter](/structural/adapter.md) | Adapts otherwise incompatible interfaces to work together by adapting one to the other | ✘ |
|
|
||||||
| [Bridge](/structural/bridge.md) | Decouples an interface from its implementation so that the two can vary independently | ✘ |
|
| [Bridge](/structural/bridge.md) | Decouples an interface from its implementation so that the two can vary independently | ✘ |
|
||||||
| [Composite](/structural/composite.md) | Encapsulates and provides access to a number of different objects | ✘ |
|
| [Composite](/structural/composite.md) | Encapsulates and provides access to a number of different objects | ✘ |
|
||||||
| [Decorator](/structural/decorator.md) | Adds behavior to an object, statically or dynamically | ✔ |
|
| [Decorator](/structural/decorator.md) | Adds behavior to an object, statically or dynamically | ✔ |
|
||||||
| [Facade](/structural/facade.md) | Uses one type as an API to a number of others | ✘ |
|
| [Facade](/structural/facade.md) | Uses one type as an API to a number of others | ✘ |
|
||||||
| [Flyweight](/structural/flyweight.md) | Reuses existing instances of objects with similar/identical state to minimize resource usage | ✘ |
|
| [Flyweight](/structural/flyweight.md) | Reuses existing instances of objects with similar/identical state to minimize resource usage | ✘ |
|
||||||
| [Model View Controller](/structural/model_view_controller.md) | Divides an app into three interconnected parts to separate internal representation from presentation to user | ✘ |
|
|
||||||
| [Proxy](/structural/proxy.md) | Provides a surrogate for an object to control it's actions | ✘ |
|
| [Proxy](/structural/proxy.md) | Provides a surrogate for an object to control it's actions | ✘ |
|
||||||
|
|
||||||
## Behavioral Patterns
|
## Behavioral Patterns
|
||||||
|
@ -8,13 +8,11 @@
|
|||||||
* [Object Pool](/creational/object-pool.md)
|
* [Object Pool](/creational/object-pool.md)
|
||||||
* [Singleton](/creational/singleton.md)
|
* [Singleton](/creational/singleton.md)
|
||||||
* [Structural Patterns](/README.md#structural-patterns)
|
* [Structural Patterns](/README.md#structural-patterns)
|
||||||
* [Adapter](/structural/adapter.md)
|
|
||||||
* [Bridge](/structural/bridge.md)
|
* [Bridge](/structural/bridge.md)
|
||||||
* [Composite](/structural/composite.md)
|
* [Composite](/structural/composite.md)
|
||||||
* [Decorator](/structural/decorator.md)
|
* [Decorator](/structural/decorator.md)
|
||||||
* [Facade](/structural/facade.md)
|
* [Facade](/structural/facade.md)
|
||||||
* [Flyweight](/structural/flyweight.md)
|
* [Flyweight](/structural/flyweight.md)
|
||||||
* [Model View Controller](/structural/model_view_controller.md)
|
|
||||||
* [Proxy](/structural/proxy.md)
|
* [Proxy](/structural/proxy.md)
|
||||||
* [Behavioral Patterns](/README.md#behavioral-patterns)
|
* [Behavioral Patterns](/README.md#behavioral-patterns)
|
||||||
* [Chain of Responsibility](/behavioral/chain_of_responsibility.md)
|
* [Chain of Responsibility](/behavioral/chain_of_responsibility.md)
|
||||||
|
Loading…
Reference in New Issue
Block a user