Re:Go's power is in emergent behavior
by Laremere on Saturday April 26, 2014 @10:23PM
(#7653648)
The purpose was to not allow defining types which satisfy the interface outside the package. In this case they still want others to be able to use the values of the interface.
It's an uncommon thing to need to do, but this example shows that you can do it.
It's an uncommon thing to need to do, but this example shows that you can do it.