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

Paket: golang-github-sanity-io-litter-dev (1.5.1-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.

Andere Pakete mit Bezug zu golang-github-sanity-io-litter-dev

  • hängt ab von
  • empfiehlt
  • schlägt vor

golang-github-sanity-io-litter-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 11,8 kB60 kB [Liste der Dateien]