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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
Back to top