On Thu, 3 Jan 2019 06:24:24 -0800 (PST) 伊藤和也 <kazya.ito.dr...@gmail.com> wrote:
> When to use panic? When your code can NOT safely proceed. I.e. if some error state is not recoverable. You should NOT use panic in a library you write for others. Hope this helps, -- Wojciech S. Czarnecki << ^oo^ >> OHIR-RIPE -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.