Hi Jesse

Thank you very much. I guess that happens when you come to Go with a PHP 
background. I still have one question, why does it happen always on that 
iteration? Not the previous iterations?

On Tuesday, December 19, 2017 at 4:32:09 PM UTC+11, Jesse McNelis wrote:
>
> On Tue, Dec 19, 2017 at 4:10 PM, Sasan Rose <sasan...@gmail.com 
> <javascript:>> wrote: 
> > Hi Jess 
> > 
> > Apologies for my bad example. Please kindly see my reply to Dave's post. 
> > Thanks 
>
> I fixed your example so that the slice called 'combination' isn't 
> shared with every slice in every iteration of the loop. 
> https://play.golang.org/p/s0WvBuZr_P 
>

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