Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tv (0.01 sec)

  1. doc/go_spec.html

    <code>Mv</code>, whose receiver is of type <code>T</code>, and
    <code>Mp</code>, whose receiver is of type <code>*T</code>.
    </p>
    
    <pre>
    type T struct {
    	a int
    }
    func (tv  T) Mv(a int) int         { return 0 }  // value receiver
    func (tp *T) Mp(f float32) float32 { return 1 }  // pointer receiver
    
    var t T
    </pre>
    
    <p>
    The expression
    </p>
    
    <pre>
    T.Mv
    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