Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Method_declarations (0.22 sec)

  1. doc/go1.17_spec.html

    The method set of an <a href="#Interface_types">interface type</a> is its interface.
    The method set of any other type <code>T</code> consists of all
    <a href="#Method_declarations">methods</a> declared with receiver type <code>T</code>.
    The method set of the corresponding <a href="#Pointer_types">pointer type</a> <code>*T</code>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    struct {
    	T     // conflicts with embedded field *T and *P.T
    	*T    // conflicts with embedded field T and *P.T
    	*P.T  // conflicts with embedded field T and *T
    }
    </pre>
    
    <p>
    A field or <a href="#Method_declarations">method</a> <code>f</code> of an
    embedded field in a struct <code>x</code> is called <i>promoted</i> if
    <code>x.f</code> is a legal <a href="#Selectors">selector</a> that denotes
    that field or method <code>f</code>.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top