Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for initializers (0.04 seconds)

  1. doc/go_spec.html

    Multiple variables on the left-hand side of a variable declaration initialized
    by single (multi-valued) expression on the right-hand side are initialized
    together: If any of the variables on the left-hand side is initialized, all
    those variables are initialized in the same step.
    </p>
    
    <pre>
    var x = a
    var a, b = f() // a and b are initialized together, before x is initialized
    </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