Re: [go-nuts] Re: Constructor return advice

2017-04-21 Thread st ov
Thanks for the confirmation and advice! On Friday, April 21, 2017 at 1:29:02 PM UTC-7, Alan Donovan wrote: > > On 21 April 2017 at 15:26, st ov > wrote: >> >> When deciding between method receivers, any advice on how to choose which >> to use? >> Is it as simple as, when you need to change the

Re: [go-nuts] Re: Constructor return advice

2017-04-21 Thread 'Alan Donovan' via golang-nuts
On 21 April 2017 at 15:26, st ov wrote: > > When deciding between method receivers, any advice on how to choose which > to use? > Is it as simple as, when you need to change the instance pass a pointer, > otherwise pass a value. And then once one method requires a pointer, then > all methods shoul