Package: golang-github-sanity-io-litter-dev (1.5.1-1)
Links for golang-github-sanity-io-litter-dev
Download Source Package golang-github-sanity-io-litter:
- Homepage [github.com]
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
- dep: golang-github-stretchr-testify-dev
- sacred extension to the standard Go testing package