pretty
litter
Our great sponsors
pretty | litter | |
---|---|---|
2 | 4 | |
1,328 | 1,489 | |
- | 0.9% | |
0.0 | 0.0 | |
4 months ago | 7 months ago | |
Go | Go | |
MIT License | MIT License |
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.
pretty
- 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.
litter
-
TIL: panic(spew.Sdump(myVar))
I like litter, and I have a simple helper that is effectively:
-
The most helpful Go Packages
I prefer litter https://github.com/sanity-io/litter
-
Just released a maintained github.com/davecgh/go-spew/spew fork
You may also be interested in Litter, which grew out of frustrations with go-spew, and which is actively maintained. I'm one of the contributors.
-
Convert Go values to their AST
Looks like a lot like my project, Litter. Unlike Spew and the others mentioned in the readme, Litter does have a mode that produces valid Go syntax.
What are some alternatives?
pretty-compact - The Prettiest Printer
spew - Implements a deep pretty printer for Go data structures to aid in debugging
backoff - ⏱ The exponential backoff algorithm in Go
spew - Implements a deep pretty printer for Go data structures to aid in debugging
mustache-haskell - mustache implementation in Haskell
utter - Implements a deep pretty printer for Go data structures to ease data snapshot creation
pretty-show - Tools for working with derived Show instances in Haskell.
go-parsing - A Multi-Package Go Repo Focused on Text Parsing, with Lexers, Parsers, and Related Utils
godotenv - A Go port of Ruby's dotenv library (Loads environment variables from .env files)
valast - Convert Go values to their AST
text-ldap - Parser and Printer for LDAP text data stream
csaf_distribution - Tools to download or provide CSAF (Common Security Advisory Framework) documents.