Install golang-github-go-stack-stack-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-go-stack-stack-dev
Description:
capture, manipulate, and format call stacks
Package stack implements utilities to capture, manipulate, and format call stacks. It provides a simpler API than package runtime. . The implementation takes care of the minutia and special cases of interpreting the program counter (pc) values returned by runtime.Callers.
Homepage: http://github.com/go-stack/stack
Version: 1.5.2-2
Section: universe/devel