On Thursday, August 30, 2018 at 7:25:10 PM UTC-4, Nigel Tao wrote: > > On Fri, Aug 31, 2018 at 4:18 AM Burak Serdar <bse...@ieee.org > <javascript:>> 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. >
That was helpful. I feel like I have a more solid grasp now, though I'm a bit worried about what details might have changed. Is there any chance of getting the author to update this and add it to the official Go documentation? -- 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.