Glossary: Software Design Patterns in Go
Inheritance
Also written: subclass, child class
A way to build a type by extending another ("is a"). Go has no inheritance; embedding is its nearest thing, and Go chose composition on purpose.
Glossary: Software Design Patterns in Go
Also written: subclass, child class
A way to build a type by extending another ("is a"). Go has no inheritance; embedding is its nearest thing, and Go chose composition on purpose.