Skip to content

Instantly share code, notes, and snippets.

@mlowicki
Created October 12, 2016 20:40
Show Gist options
  • Save mlowicki/f97ba6e3a21b019ff2b17994876e6f1b to your computer and use it in GitHub Desktop.
Save mlowicki/f97ba6e3a21b019ff2b17994876e6f1b to your computer and use it in GitHub Desktop.
> go install github.com/mlowicki/lab && ./bin/lab
1
2
Inside deferred function
panic: boom!
goroutine 1 [running]:
panic(0xb8260, 0x8202301f0)
/usr/local/go/src/runtime/panic.go:481 +0x3e6
main.f()
/Users/mlowicki/projects/golang/spec/src/github.com/mlowicki/lab/lab.go:11 +0x20c
main.main()
/Users/mlowicki/projects/golang/spec/src/github.com/mlowicki/lab/lab.go:16 +0x14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment