Re: [go-nuts] functions with arguments vs. function with a receiver?

2019-08-10 Thread burak serdar
On Sat, Aug 10, 2019 at 4:57 PM joe mcguckin wrote: > > Is there a recommended usage for either style? > > Take ListenPacket for example. There a (*ListenConfig).ListenPacket version > and a version that takes arguments. > > What's the difference and what is the desired usage of either? Function

[go-nuts] functions with arguments vs. function with a receiver?

2019-08-10 Thread joe mcguckin
Is there a recommended usage for either style? Take ListenPacket for example. There a (*ListenConfig).ListenPacket version and a version that takes arguments. What's the difference and what is the desired usage of either? Thanks, Joe -- You received this message because you are subscribed to