On Saturday, August 27, 2016 at 12:05:28 AM UTC+8, Jan Mercl wrote: > > > > On Fri, Aug 26, 2016, 17:59 T L <tapi...@gmail.com <javascript:>> wrote: > >> >> >>> -- >>> >> >> why the underlying types of []Age and []int are not the same. >> > > The underlying type of an anonymous type []T is []T. > > > What are differences between memory layouts of []Age and []int?
> -- > > -j > -- 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.