spew
Implements a deep pretty printer for Go data structures to aid in debugging (by spewerspew)
pretty
Pretty printing for Go values (by kr)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
spew
Posts with mentions or reviews of spew.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-01.
pretty
Posts with mentions or reviews of pretty.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-02.
- Libraries you use most of your projects?
-
Just released a maintained github.com/davecgh/go-spew/spew fork
github.com/kr/pretty works well too. Less dependencies.
What are some alternatives?
When comparing spew and pretty you can also consider the following projects:
litter - Litter is a pretty printer library for Go data structures to aid in debugging and testing.
utter - Implements a deep pretty printer for Go data structures to ease data snapshot creation
backoff - ⏱ The exponential backoff algorithm in Go
pretty-compact - The Prettiest Printer
text-ldap - Parser and Printer for LDAP text data stream
gomodifytags - Go tool to modify struct field tags
pretty-types - A small pretty printing DSL for complex types.
assert - A simple assertion library using Go generics
pretty-show - Tools for working with derived Show instances in Haskell.
mustache-haskell - mustache implementation in Haskell
godotenv - A Go port of Ruby's dotenv library (Loads environment variables from .env files)