4 ms·
A panic unrolls the stack until it's recovered from. If it's not recovered the entire server will go down. If the panic isn't recovered it will print a stack t
by EdiX 13y ago
A panic unrolls the stack until it's recovered from. If it's not recovered the entire server will go down.
If the panic isn't recovered it will print a stack trace, if it is recovered you can get a stack trace with runtime.Caller().
Go's panics are exceptions.
- pacala 13y agoThanks!