Composite

Compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly.

Examples in Go
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in Go!