Debian Codegraph @

main.go

raw
1 // Copyright 2015 Marc-Antoine Ruel. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file.
4
5 // panicparse: analyzes stack dump of Go processes and simplifies it.
6 //
7 // It is mostly useful on servers will large number of identical goroutines,
8 // making the crash dump harder to read than strictly necessary.
9 package main
10
11 import (
12 "fmt"
13 "os"
14
15 "github.com/maruel/panicparse/v2/internal"
16 )
17
18 func main() {
19 if err := internal.Main(); err != nil {
20 fmt.Fprintf(os.Stderr, "Failed: %s\n", err)
21 os.Exit(1)
22 }
23 }