Code for Panic Handling and Recovery in Go-Routines article
-
Example that simulates a panic
make cause-panic
-
Example that simulates a panic and recover with one go routine
make panic-recover
-
Example that simulates panic and recovery with multiple go routines
make panic-recover-multiple