Say that I have an array with elements {a,b,c,d,e,f,g,h}. I want to create
a slice containing only elements with, say, index 0, 1, 3 and 6. The
resulting slice would be {a,b,d,g}. Is there a good way to achieve this? I
tried array[0,1,3,6] to no avail...
Jens
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.