I get stacktraces from `panic()` - is this not what you're after?
goroutine 1 [running]:
main.b()
/home/rjp/git/godiggy/test.go:8 +0x64
main.a()
/home/rjp/git/godiggy/test.go:13 +0x9b
main.main()
/home/rjp/git/godiggy/test.go:18 +0x9b
exit status 2