On Fri, Aug 31, 2018 at 4:18 AM Burak Serdar <bser...@ieee.org> wrote: > If b is an interface to a *Blob, what's stored in the slice is {Type: > *Blob, Value: pointer to the object}. A copy of this interface value > is also in the map. So you have two copies of the interface value, > both pointing to the same Blob object.
Yes, the details might have changed slightly since 2009, but https://research.swtch.com/interfaces might help grok the mental model for Go interfaces. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.