Re: [go-nuts] Copy a slice to new memory adresses

2018-03-23 Thread Alex Efros
Hi! On Fri, Mar 23, 2018 at 12:10:55PM -0700, Alex Dvoretskiy wrote: > For example, I have a multidimensional slice, which I want to modify, but > keep an original slice untouched. > > Do I need to do this all the time or there is another convenient way to do > this?: > > https://play.golang.o

[go-nuts] Copy a slice to new memory adresses

2018-03-23 Thread Alex Dvoretskiy
Hello Golang nuts, For example, I have a multidimensional slice, which I want to modify, but keep an original slice untouched. Do I need to do this all the time or there is another convenient way to do this?: https://play.golang.org/p/YDn6ii52oOt Thanks Alex -- You received this message be