title: How to implement a PHP function `die()` (or `exit()`) in Go?
body: <p>In PHP, <code>die()</code> is used to stop running the script for preventing the unexpected behaviour. In Go, what is the idiomatic way to die a handle function? <code>panic()</code> or <code>return</code>?</p>