Back to godoc.org
panic crashes in various ways.
It is a tool to help test pp, it is used in its unit tests.
To install, run:
go install github.com/maruel/panicparse/v2/cmd/panic panic -help panic str |& pp
Some panics require the race detector with -race:
go install -race github.com/maruel/panicparse/v2/cmd/panic panic race |& pp
To use with inlining disabled, build with -gcflags '-l' like:
go install -gcflags '-l' github.com/maruel/panicparse/v2/cmd/panic
Documentation was rendered with GOOS=linux and GOARCH=amd64.