Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for saved (0.04 seconds)

  1. doc/go_spec.html

    The method value <code>x.M</code> is a function value that is callable
    with the same arguments as a method call of <code>x.M</code>.
    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)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
Back to Top