litter
spew
litter | spew | |
---|---|---|
4 | 1 | |
1,491 | 100 | |
0.5% | 0.0% | |
0.0 | 2.1 | |
8 months ago | 12 months ago | |
Go | Go | |
MIT License | ISC 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.
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.
spew
What are some alternatives?
spew - Implements a deep pretty printer for Go data structures to aid in debugging
utter - Implements a deep pretty printer for Go data structures to ease data snapshot creation
pretty - Pretty printing for Go values
go-parsing - A Multi-Package Go Repo Focused on Text Parsing, with Lexers, Parsers, and Related Utils
valast - Convert Go values to their AST
csaf_distribution - Tools to download or provide CSAF (Common Security Advisory Framework) documents.
ulid - Universally Unique Lexicographically Sortable Identifier (ULID) in Go
Testify - A toolkit with common assertions and mocks that plays nicely with the standard library
lo - 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
JSON-to-Go - Translates JSON into a Go type in your browser instantly (original)
lancet - A comprehensive, efficient, and reusable util function library of Go.