Re: [go-nuts] interface assignment

2017-05-01 Thread feilengcui008
Thanks for the clear explanation! 在 2017年5月1日星期一 UTC+8下午9:55:30,Ian Lance Taylor写道: > > On Mon, May 1, 2017 at 6:03 AM, feilengcui008 > wrote: > > > > I have made a little testing about interface assignment and searched > the > > source code about interface runtime functions like convI2I,

Re: [go-nuts] interface assignment

2017-05-01 Thread Ian Lance Taylor
On Mon, May 1, 2017 at 6:03 AM, feilengcui008 wrote: > > I have made a little testing about interface assignment and searched the > source code about interface runtime functions like convI2I, and notice that > there are two situations where data may be copied or not: > (1) data not co

[go-nuts] interface assignment

2017-05-01 Thread feilengcui008
Hey, All: I have made a little testing about interface assignment and searched the source code about interface runtime functions like convI2I, and notice that there are two situations where data may be copied or not: (1) data not copied: assign another* interface type* variable to t