On Sun, 2016-07-17 at 09:09 -0700, Evan Digby wrote:
> For now the solution is to explicitly make copies, which was the desired 
> result in the first place.
> 
> The code I posted earlier works as desired.

You don't need to make explicit copies. If you use three index slicing,
you get the behaviour you want.

https://play.golang.org/p/ENpRmubQV4

-- 
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.

Reply via email to