Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ack (0.01 sec)

  1. doc/go_spec.html

    </pre>
    
    <p>
    A function literal can be assigned to a variable or invoked directly.
    </p>
    
    <pre>
    f := func(x, y int) int { return x + y }
    func(ch chan int) { ch &lt;- ACK }(replyChan)
    </pre>
    
    <p>
    Function literals are <i>closures</i>: they may refer to variables
    defined in a surrounding function. Those variables are then shared between
    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