panic

command
v2.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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 optimization (-N) and inlining (-l) disabled, build with -gcflags '-N -l' like:

go install -gcflags '-N -l' github.com/maruel/panicparse/v2/cmd/panic

Directories

Path Synopsis
Package internal is for use for panic.
Package internal is for use for panic.
incorrect
Package correct is in directory incorrect.
Package correct is in directory incorrect.
utf8
Package ùtf8 tests a package and function with non-ASCII names.
Package ùtf8 tests a package and function with non-ASCII names.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL