Re: [go-nuts] Definition of Method sets

2020-09-04 Thread Yuu LongXue
yeah,this is really a subtle point, Thank You For Your Addition. > On Sep 4, 2020, at 10:11 PM, Marvin Renich wrote: > > Marvin -- 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,

Re: [go-nuts] Definition of Method sets

2020-09-04 Thread Marvin Renich
* Yuu LongXue [200904 05:31]: > Hi all, > > I’m confused by the "method set" defined in go > specification,any one can help explain? > > The Go Programming Language Specification says that : > ``` > The method set of any other type T consists of all methods >

[go-nuts] Definition of Method sets

2020-09-04 Thread Yuu LongXue
Hi all, I’m confused by the "method set" defined in go specification,any one can help explain? The Go Programming Language Specification says that : ``` The method set of any other type T consists of all methods declared with receiver type T. The method set of th