title: How to return in func FROM another func?
body: <p>I want to end execution in parent func <code>apiEndpoint()</code> upon calling/exiting in a child func <code>apiResponse()</code></p>
  
  <pre><code>func apiEndpoint() {
      if false {
          apiResponse("error")
          // I want apiResponse() call to return (end execution) in parent func
          // so next apiResponse("all good") wont be executed
      }
  
      apiResponse("all good")
  }
  
  func apiResponse(message string) {
      // returns message to user via JSON
  }
  </code></pre>