Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CommClause (0.1 sec)

  1. doc/go1.17_spec.html

    It looks similar to a
    <a href="#Switch_statements">"switch"</a> statement but with the
    cases all referring to communication operations.
    </p>
    
    <pre class="ebnf">
    SelectStmt = "select" "{" { CommClause } "}" .
    CommClause = CommCase ":" StatementList .
    CommCase   = "case" ( SendStmt | RecvStmt ) | "default" .
    RecvStmt   = [ ExpressionList "=" | IdentifierList ":=" ] RecvExpr .
    RecvExpr   = Expression .
    </pre>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top