Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for notResult (0.17 sec)

  1. doc/go_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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
Back to top