Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for leftmost (0.09 seconds)

  1. doc/go_spec.html

    chan<- float64  // can only be used to send float64s
    <-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)
    chan&lt;- &lt;-chan int  // same as chan&lt;- (&lt;-chan int)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
Back to Top