Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TypeSwitchCase (0.47 sec)

  1. doc/go_spec.html

    TypeSwitchGuard = [ identifier ":=" ] PrimaryExpr "." "(" "type" ")" .
    TypeCaseClause  = TypeSwitchCase ":" StatementList .
    TypeSwitchCase  = "case" TypeList | "default" .
    </pre>
    
    <p>
    The TypeSwitchGuard may include a
    <a href="#Short_variable_declarations">short variable declaration</a>.
    When that form is used, the variable is declared at the end of the
    TypeSwitchCase in the <a href="#Blocks">implicit block</a> of each clause.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
Back to top