[go-nuts] Re: Function scoped method receivers

2016-12-12 Thread go-question
Thanks again. On Monday, December 12, 2016 at 7:13:28 PM UTC-8, Dave Cheney wrote: > > It's unlikely to be added. > > On Tuesday, 13 December 2016 14:09:52 UTC+11, go-question wrote: >> >> Thanks for confirming. Would you know if its a valid feature on the >> roadmap? >> >> >> >> On Monday, Dece

[go-nuts] Re: Function scoped method receivers

2016-12-12 Thread Dave Cheney
It's unlikely to be added. On Tuesday, 13 December 2016 14:09:52 UTC+11, go-question wrote: > > Thanks for confirming. Would you know if its a valid feature on the > roadmap? > > > > On Monday, December 12, 2016 at 5:14:13 PM UTC-8, Dave Cheney wrote: >> >> No, it is not currently possible to do

[go-nuts] Re: Function scoped method receivers

2016-12-12 Thread go-question
Thanks for confirming. Would you know if its a valid feature on the roadmap? On Monday, December 12, 2016 at 5:14:13 PM UTC-8, Dave Cheney wrote: > > No, it is not currently possible to do this, > https://play.golang.org/p/S8w_ztCobQ > > On Tuesday, 13 December 2016 12:08:52 UTC+11, go-question

[go-nuts] Re: Function scoped method receivers

2016-12-12 Thread Dave Cheney
No, it is not currently possible to do this, https://play.golang.org/p/S8w_ztCobQ On Tuesday, 13 December 2016 12:08:52 UTC+11, go-question wrote: > > > I noticed that its possible to define/scope types/interfaces in functions. > > Now I'm not arguing that this is good practice, but for the sake