A common Go idiom is to (1) panic, (2) recover from the panic in a deferred function, and (3) continue on. In general, this is okay, so long there are no global state changes between the entry point to the function calling defer, and the point at which the panic occurs. Such global state changes … Continue reading Panicking the right way in Go
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed