Hacker News new | ask | show | jobs
by ignoramous 481 days ago
> I like to use panics for exceptional conditions just for the convenient escape with the stack trace.

One can debug.PrintStack(), instead.

https://pkg.go.dev/runtime/debug#PrintStack