Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for T2 (0.03 sec)

  1. doc/go_spec.html

    type T0 struct {
    	x int
    }
    
    func (*T0) M0()
    
    type T1 struct {
    	y int
    }
    
    func (T1) M1()
    
    type T2 struct {
    	z int
    	T1
    	*T0
    }
    
    func (*T2) M2()
    
    type Q *T2
    
    var t T2     // with t.T0 != nil
    var p *T2    // with p != nil and (*p).T0 != nil
    var q Q = p
    </pre>
    
    <p>
    one may write:
    </p>
    
    <pre>
    t.z          // t.z
    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