pretty
litter
pretty | litter | |
---|---|---|
2 | 4 | |
1,356 | 1,517 | |
- | 0.7% | |
0.0 | 0.0 | |
about 2 months ago | 6 days 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?
backoff - ⏱ The exponential backoff algorithm in Go
spew - Implements a deep pretty printer for Go data structures to aid in debugging
pretty-compact - The Prettiest Printer
utter - Implements a deep pretty printer for Go data structures to ease data snapshot creation
text-ldap - Parser and Printer for LDAP text data stream
valast - Convert Go values to their AST
pretty-types - A small pretty printing DSL for complex types.
spew - Implements a deep pretty printer for Go data structures to aid in debugging
assert - A simple assertion library using Go generics
csaf_distribution - Tools to download or provide CSAF (Common Security Advisory Framework) documents.
gomodifytags - Go tool to modify struct field tags
go-parsing - A Multi-Package Go Repo Focused on Text Parsing, with Lexers, Parsers, and Related Utils