Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for pre (0.12 sec)

  1. doc/go_spec.html

    </p>
    
    <pre class="ebnf">
    ShortVarDecl = IdentifierList ":=" ExpressionList .
    </pre>
    
    <p>
    It is shorthand for a regular <a href="#Variable_declarations">variable declaration</a>
    with initializer expressions but no types:
    </p>
    
    <pre class="grammar">
    "var" IdentifierList "=" ExpressionList .
    </pre>
    
    <pre>
    i, j := 0, 10
    f := func() int { return 7 }
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top