Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. doc/go_spec.html

    </p>
    
    <pre>
    chan T          // can be used to send and receive values of type T
    chan&lt;- float64  // can only be used to send float64s
    &lt;-chan int      // can only be used to receive ints
    </pre>
    
    <p>
    The <code>&lt;-</code> operator associates with the leftmost <code>chan</code>
    possible:
    </p>
    
    <pre>
    chan&lt;- chan int    // same as chan&lt;- (chan int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
Back to top