Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Vints (0.41 sec)

  1. doc/go1.17_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)
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. 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)
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
Back to top