Notes: Go Design Patterns - Chain of Responsibility
Chain of responsibility pattern decouples request and receiver. It adds a chain of actions between request and receiver which may modify the request for the next step or make some checks or stop the request altogether. This is a behavioral pattern.
T...
btree.dev4 min read