mirror of
https://github.com/tmrts/go-patterns.git
synced 2026-11-11 23:07:51 +03:00
Implement Observer pattern
This commit is contained in:
1 parent
befd460eeb
commit
065ae23a2f
3 files changed
+141
-1
No files matched your search
@@ -42,7 +42,7 @@ __Behavioral Patterns__:
|
||||
| TODO: [Command](behavioral/command.md) | Bundles a command and arguments to call later |
|
||||
| TODO: [Mediator](behavioral/mediator.md) | Connects objects and acts as a proxy |
|
||||
| TODO: [Memento](behavioral/memento.md) | Generate an opaque token that can be used to go back to a previous state |
|
||||
| TODO: [Observer](behavioral/observer.md) | Provide a callback for notification of events/changes to data |
|
||||
| [Observer](behavioral/observer.md) | Provide a callback for notification of events/changes to data |
|
||||
| TODO: [Registry](behavioral/registry.md) | Keep track of all subclasses of a given class |
|
||||
| TODO: [State](behavioral/state.md) | Encapsulates varying behavior for the same object based on its internal state |
|
||||
| [Strategy](behavioral/strategy.md) | Enables an algorithm's behavior to be selected at runtime |
|
||||
|
||||
Reference in new issue
Block a user