File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ panicparse helps make sense of Go crash dumps:
1616
1717## Features
1818
19- See [ v2.0.0 blog post] ( https://maruel.ca/post/panicparse-2.0.0 / ) .
19+ See [ v2.0.1 blog post] ( https://maruel.ca/post/panicparse-2.0.1 / ) .
2020
2121 * ** New in v2.0.0!** : Full go module support.
2222 * ** New in v2.0.0!** : Race detector support.
@@ -50,7 +50,7 @@ Ruel](https://github.com/maruel) and
5050
5151## Installation
5252
53- go get github.com/maruel/panicparse/cmd/pp
53+ go get github.com/maruel/panicparse/v2/ cmd/pp
5454
5555
5656## Usage
@@ -162,7 +162,7 @@ you may be running the _Perl PAR Packager_ instead of panicparse.
162162You have two choices, either you put ` $GOPATH/bin ` at the beginning of ` $PATH `
163163or use long name ` panicparse ` with:
164164
165- go get github.com/maruel/panicparse
165+ go get github.com/maruel/panicparse/v2
166166
167167then using ` panicparse ` instead of ` pp ` :
168168
Original file line number Diff line number Diff line change 77// It is a tool to help test pp, it is used in its unit tests.
88//
99// To install, run:
10- // go install github.com/maruel/panicparse/cmd/panic
10+ // go install github.com/maruel/panicparse/v2/ cmd/panic
1111// panic -help
1212// panic str |& pp
1313//
1414// Some panics require the race detector with -race:
15- // go install -race github.com/maruel/panicparse/cmd/panic
15+ // go install -race github.com/maruel/panicparse/v2/ cmd/panic
1616// panic race |& pp
1717//
1818// To use with inlining disabled, build with -gcflags '-l' like:
19- // go install -gcflags '-l' github.com/maruel/panicparse/cmd/panic
19+ // go install -gcflags '-l' github.com/maruel/panicparse/v2/ cmd/panic
2020package main
2121
2222// To add a new panic stack signature, add it to types type below, keeping the
@@ -112,7 +112,7 @@ func recurse(i int) {
112112func panicRaceDisabled (name string ) {
113113 help := "'panic %s' can only be used when built with the race detector.\n " +
114114 "To build, use:\n " +
115- " go install -race github.com/maruel/panicparse/cmd/panic\n "
115+ " go install -race github.com/maruel/panicparse/v2/ cmd/panic\n "
116116 fmt .Fprintf (stdErr , help , name )
117117}
118118
@@ -314,7 +314,7 @@ var types = map[string]struct {
314314 // https://github.com/golang/go/issues/20588
315315 //
316316 // Repro:
317- // go install -race github.com/maruel/panicparse/cmd/panic; panic asleep
317+ // go install -race github.com/maruel/panicparse/v2/ cmd/panic; panic asleep
318318 var mu sync.Mutex
319319 mu .Lock ()
320320 mu .Lock ()
You can’t perform that action at this time.
0 commit comments