Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for VarSpec (0.87 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 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