:-)
Does os.Exit(1) prints backtrace of all goroutines like unrecovered panic
does?

2017-04-24 16:53 GMT+03:00 Jan Mercl <0xj...@gmail.com>:

> On Mon, Apr 24, 2017 at 3:19 PM Sokolov Yura <funny.fal...@gmail.com>
> wrote:
>
> > And what about unrecoverable panic? C-style `assert`?
>
> fmt.Fprintf(os.Stderr, "it's full of stars!\n")
> os.Exit(1)
>
> --
>
> -j
>

-- 
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.

Reply via email to