Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for myvar (0.05 sec)

  1. doc/go_spec.html

    </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>
    var i interface { M(int) } = myVal
    f := i.M; f(7)  // like i.M(7)
    </pre>
    
    
    <h3 id="Index_expressions">Index expressions</h3>
    
    <p>
    A primary expression of the form
    </p>
    
    <pre>
    a[x]
    </pre>
    
    <p>
    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