For command line applications, it's often useful to terminate with a one-line string message, without presenting a stack trace. Could Go get a die-like standard function for this?
panic() and log.Panic() are similar to die, except that panic always shows a trace, even when a very newbie-facing application or other security concern would preclude full error traces. -- 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.