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!
We're a place where coders share, stay up-to-date and grow their careers.
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!
Aurélie Vache -
themeselection -
Masroor Hussain -
M. Bagher Abiat -
Discussion (0)