How to Install golang-github-kr-pretty-dev in Ubuntu 18.04



Install golang-github-kr-pretty-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install golang-github-kr-pretty-dev

Description:

Pretty printing for Go values

Go library package github.com/kr/pretty provides pretty-printing for Go values. This is useful during debugging, to avoid wrapping long output lines in the terminal. . It provides a function, Formatter, that can be used with any function that accepts a format string. It also provides convenience wrappers for functions in packages fmt and log.

Homepage: https://github.com/kr/pretty/

Version: 0.0~git20160325.0.add1dbc-1

Section: universe/devel