An array is a vector of values in memory. A slice is a small struct that describes an array stored elsewhere in memory.
https://blog.golang.org/go-slices-usage-and-internals -- 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.