<@U0F8Y5E5A> I'm not familiar with Go, but from a ...
# announcements
r
@mg6maciej I'm not familiar with Go, but from a quick google it seems like defer (combined with panic and recover) would semantically be equivalent to a try...catch...finally construct in Java/Kotlin. I'm not opposed to wrapping that construct in a function to make it more readable, but @sreich's solution adds zero value while decreasing readability imo.