Skip to content

MediumScenarioStructs, interfaces and generics

Two structs share common fields and behaviour. Inheritance is missing, so what do you do?

This answer is part of Pro

12 of 90 Golang Developer answers are free. A Pro pass opens the rest, including hands-on task steps.

More on Structs, interfaces and generics

Flashcards for this topic