29/09/2022
Defer delays ex*****on of functions causing an error, panic statement stops the program & recover is used to recover the message during panic
Let’s discuss the defer, panic, recovery statements & their roles/importance in a production ready code in
Defer, Panic & Recover are important to know for error handling & writing the production ready code in go. This post provides details about them.