Skip to content
Sections
>> Trisquel >> Packages >> nabia >> devel >> golang-github-sanity-io-litter-dev
etiona  ] [  nabia  ] [  aramo  ]

Package: golang-github-sanity-io-litter-dev (1.2.0-1)

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.

Other Packages Related to golang-github-sanity-io-litter-dev

  • depends
  • recommends
  • suggests

Download golang-github-sanity-io-litter-dev

Download for all available architectures
Architecture Package Size Installed Size Files
all 10.3 kB53 kB [list of files]