Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Player (0.14 sec)

  1. doc/go_spec.html

    The expression <code>x</code> is evaluated and saved during the evaluation of the
    method value; the saved copy is then used as the receiver in any calls,
    which may be executed later.
    </p>
    
    <pre>
    type S struct { *T }
    type T int
    func (t T) M() { print(t) }
    
    t := new(T)
    s := S{T: t}
    f := t.M                    // receiver *t is evaluated and stored in f
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top