Skip to content

Instantly share code, notes, and snippets.

@mlowicki
Created October 12, 2016 22:33
Show Gist options
  • Save mlowicki/0271db3c48a4809f8daa5f4bd9f7a4fa to your computer and use it in GitHub Desktop.
Save mlowicki/0271db3c48a4809f8daa5f4bd9f7a4fa to your computer and use it in GitHub Desktop.
> go install github.com/mlowicki/lab && ./bin/lab
Deferred by h
Deferred by g
Deferred by f
panic: boom!
panic: 2nd explosion!
goroutine 5 [running]:
panic(0xb8480, 0x8201c82d0)
/usr/local/go/src/runtime/panic.go:481 +0x3e6
main.h.func2()
/Users/mlowicki/projects/golang/spec/src/github.com/mlowicki/lab/lab.go:25 +0x65
panic(0xb8480, 0x8201c82c0)
/usr/local/go/src/runtime/panic.go:443 +0x4e9
main.h()
/Users/mlowicki/projects/golang/spec/src/github.com/mlowicki/lab/lab.go:27 +0xa3
main.g()
/Users/mlowicki/projects/golang/spec/src/github.com/mlowicki/lab/lab.go:17 +0x35
main.f(0x820214060)
/Users/mlowicki/projects/golang/spec/src/github.com/mlowicki/lab/lab.go:9 +0x35
created by main.main
/Users/mlowicki/projects/golang/spec/src/github.com/mlowicki/lab/lab.go:32 +0x53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment