Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for VarSpec (0.05 seconds)

  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 (
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
Back to Top