Re: [go-nuts] Re: Want to know differance between two code snippets defined here

2019-06-06 Thread Manish Champaneri
s pasted > here is a modified version of it. > > > > > Cheers, > > -Sam. > > > > > > On Thursday, June 6, 2019 at 6:49:00 AM UTC-7, Manish Champaneri wrote: > >> > >> > >> I am try to add routes to mux read from json

[go-nuts] Want to know differance between two code snippets defined here

2019-06-06 Thread Manish Champaneri
I am try to add routes to mux read from json using for loop In one code i am directly appending route to mux In other code I am calling a function which appends route to mux ( mux is pass by pointer) Though both are doing same thing ( As I guess ) output is different.* I am curious why this is