Xdumpgo - Tutorial
First, ensure you have Go 1.18+ installed.
To get started, you need to install the package. Open your terminal and run:
go get -u github.com/example/xdumpgo
(Note: Replace the URL with the actual repository path you are using). xdumpgo tutorial
xdumpgo goroutines ./crash core.12345
Output example:
Goroutine 1 [running]:
runtime.gopanic()
main.main() at crash.go:6
Since xdumpgo is a debugging utility, you can install it easily using go get. First, ensure you have Go 1
Open your terminal and run:
go get github.com/acarl005/strip-ansi # Dependency often used alongside
go get github.com/wjeevm/xdumpgo # (Or the specific repo URL if different)
(Note: Ensure you check the specific repository path for your version of xdumpgo, as library URLs can vary or be forked. For this tutorial, we assume the standard import path). (Note: Replace the URL with the actual repository
Disable it with cfg.ASCII = false or use -x flag in CLI.