Back to

Command panic

Latest Go to latest

The latest major version is v2.

Published: Aug 10, 2020 | License: Apache-2.0 | Module:


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
panic -help
panic str |& pp

Some panics require the race detector with -race:

go install -race
panic race |& pp

To use with inlining disabled, build with -gcflags '-l' like:

go install -gcflags '-l'
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier