Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for VarSpec (0.28 sec)

  1. doc/go_spec.html

    binds corresponding identifiers to them, and gives each a type and an initial value.
    </p>
    
    <pre class="ebnf">
    VarDecl = "var" ( VarSpec | "(" { VarSpec ";" } ")" ) .
    VarSpec = IdentifierList ( Type [ "=" ExpressionList ] | "=" ExpressionList ) .
    </pre>
    
    <pre>
    var i int
    var U, V, W float64
    var k = 0
    var x, y float32 = -1, -2
    var (
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Dec 02 23:07:19 UTC 2025
    - 286.5K bytes
    - Viewed (1)
Back to top