Created
May 28, 2014 01:45
-
-
Save shockalotti/97151c32056592ce35e1 to your computer and use it in GitHub Desktop.
Revisions
-
shockalotti created this gist
May 28, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ package main import "fmt" func main() { defer func() { str := recover() fmt.Println(str) }() panic("PANIC") }