Re:Types as Interfaces
by packetlost on Tuesday July 23, 2024 @09:21AM
(#41045738)
Go structs sorta behave this way if you put a "parent" struct in the first field of a struct definition. They are, of course, not maps though. But a map with statically defined keys/values/types is basically a struct.
[ Parent
| on HN ]
There are no comments on this comment yet.