pretty
Pretty printing for Go values (by kr)
assert
A simple assertion library using Go generics (by alecthomas)
pretty | assert | |
---|---|---|
2 | 2 | |
1,390 | 162 | |
0.4% | 1.2% | |
0.0 | 1.3 | |
12 months ago | about 8 hours ago | |
Go | Go | |
MIT License | MIT License |
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.
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.
assert
Posts with mentions or reviews of assert.
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?
https://github.com/alecthomas/assert As an assertion library
- alecthomas/assert: A minimalist type-safe drop-in replacement for testify/require
What are some alternatives?
When comparing pretty and assert you can also consider the following projects:
pretty-compact - The Prettiest Printer
be - The Go test helper for minimalists
litter - Litter is a pretty printer library for Go data structures to aid in debugging and testing.
go-cmp - Package for comparing Go values in tests
gomodifytags - Go tool to modify struct field tags
pie - 🍕 Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance.