Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Laketa (0.15 sec)

  1. doc/go1.17_spec.html

    </p>
    
    <pre>
    f := t.Mv; f(7)   // like t.Mv(7)
    f := pt.Mp; f(7)  // like pt.Mp(7)
    f := pt.Mv; f(7)  // like (*pt).Mv(7)
    f := t.Mp; f(7)   // like (&amp;t).Mp(7)
    f := makeT().Mp   // invalid: result of makeT() is not addressable
    </pre>
    
    <p>
    Although the examples above use non-interface types, it is also legal to create a method value
    from a value of interface type.
    </p>
    
    <pre>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top