Glossary: Software Design Patterns in Go
Delegation
Also written: delegate
Handing a job to a part you hold. `Product.Total` delegates to its pricing part and its wrapping part, then adds their answers.
Glossary: Software Design Patterns in Go
Also written: delegate
Handing a job to a part you hold. `Product.Total` delegates to its pricing part and its wrapping part, then adds their answers.