Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for onResult (0.07 sec)

  1. doc/go1.17_spec.html

    <pre class="ebnf">
    ReturnStmt = "return" [ ExpressionList ] .
    </pre>
    
    <p>
    In a function without a result type, a "return" statement must not
    specify any result values.
    </p>
    <pre>
    func noResult() {
    	return
    }
    </pre>
    
    <p>
    There are three ways to return values from a function with a result
    type:
    </p>
    
    <ol>
    	<li>The return value or values may be explicitly listed
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top