- `defer`: The deferred function will run after the surroun…

shruggr ·

- `defer`: The deferred function will run after the surrounding function (in this case, the anonymous function) finishes, whether it completes normally or because of a panic.
- `recover`: This is used to regain control of a panicking goroutine. It returns the value passed to the `panic` call, allowing you to handle the panic.
- `panic`: This is used to create a panic situation, similar to throwing an exception.