Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for onlyIf (0.03 seconds)

  1. doc/go_spec.html

    otherwise it is <i>bidirectional</i>.
    A channel may be constrained only to send or only to receive by
    <a href="#Assignment_statements">assignment</a> or
    explicit <a href="#Conversions">conversion</a>.
    </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>
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
Back to Top