I use a system wide keyboard macro. That way it works in any editor.

Even now, I can type it
if err != nil {
panic(err)
}
to insert this little snippet.

If all I want is a throw away program, I am done. Otherwise, if I want to 
keep it, on a later pass I replace the panic with proper error handling.

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