A type may have a method set associated with it. The method set of an interface type is its interface. The method set of any other type
T consists of all methods declared with receiver type
T. The method set of the corresponding pointer type
*T is the set of all methods declared with receiver
T (that is, it also contains the method set of
T). Further rules apply to structs containing embedded fields, as described in the section on struct types. Any other type has an empty method set. In a method set, each method must have a unique non-blank method name.