- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for Terminating_statements (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
doc/go_spec.html
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 a <a href="#Terminating_statements">terminating statement</a>. </p> <pre> func IndexRune(s string, r rune) int { for i, c := range s { if c == r { return i } } // invalid: missing return statement
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 23:39:18 GMT 2026 - 287.8K bytes - Click Count (1)