You could panic if the parent scope doesn’t return an error. If used in an “if block”: `if try err` could behave exactly like `if err == nil` In a switch statement it could mimic “switch err.(type)” -> “switch try err”

1 min read Original article ↗

Post

Don't miss what's happening

People on X are the first to know.

Log inSign up