On 11 January 2017 at 09:21, Henry <henry.adisuma...@gmail.com> wrote: > My understanding is that a slice is an array of pointers.
No. A []T (slice of Ts) contains the length and capacity of the slice and a pointer to the backing array of the slice. The backing array is an array of elements of type T (not /pointer/ to T). Chris -- Chris "allusive" Dollin -- 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.