Re:Struct composition with Go
by pcwalton on Friday May 22, 2015 @12:35PM
(#9589373)
There are also no virtual methods with struct composition. If B embeds A, "upcasting" an instance of B to A will not allow you to call any methods on B.
[ Parent
| on HN ]
There are no comments on this comment yet.