Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FunctionBody (0.26 sec)

  1. doc/go_spec.html

    <p>
    A function declaration binds an identifier, the <i>function name</i>,
    to a function.
    </p>
    
    <pre class="ebnf">
    FunctionDecl = "func" FunctionName [ TypeParameters ] Signature [ FunctionBody ] .
    FunctionName = identifier .
    FunctionBody = Block .
    </pre>
    
    <p>
    If the function's <a href="#Function_types">signature</a> declares
    result parameters, the function body's statement list must end in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
Back to top