Install golang-github-pkg-errors-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-pkg-errors-dev
Description:
Simple error handling primitives for Go
Package errors provides simple error handling primitives for the Go programming language. . The traditional error handling idiom in Go results in error reports without context or debugging information. . The errors package allows programmers to add context to the failure path in their code in a way that does not destroy the original value of the error.
Homepage: https://github.com/pkg/errors
Version: 0.8.0+git20170505.5.c605e28-1
Section: universe/devel