DEV Community

Bear Cherian
Bear Cherian

Posted on

Defer Panic Recover

I was reading a bit about Go's builtin for panic() and recover(). I wanted to understand it a bit more, so I made a small app that tries to show how defer, panic(), and recover() all work together.

Enjoy!

https://github.com/bearcherian/defer-panic-recover

Top comments (0)