Install golang-github-sanity-io-litter-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-sanity-io-litter-dev
Description:
Pretty printer library for Go data structures to aid in debugging and testing
Litter is a pretty printer library for Go data structures to aid in debugging and testing. . It's named for the fact that it outputs literals, which you litter your output with. As a side benefit, all Litter output is compilable Go. You can use Litter to emit data during debug, and it's also really nice for "snapshot data" in unit tests, since it produces consistent, sorted output. . Litter was inspired by Spew (https://github.com/davecgh/go-spew), but focuses on terseness and readability.
Homepage: https://github.com/sanity-io/litter
Version: 1.1.0+git20171129.f8fd6a5-1
Section: universe/devel