pie
🍕 Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance. (by elliotchance)
assert
A simple assertion library using Go generics (by alecthomas)
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.
pie
Posts with mentions or reviews of pie.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-22.
-
Generic slice utils? I just created
How does this library differ from lo or pie?
-
remove element from a slice
otherwise, this library might do what you want https://github.com/elliotchance/pie
-
Go: Don't Change the Libraries in 1.18
I don't know how people were looking at these Java 2.0-esque kludges and still arguing generics were superfluous but I'm glad it's landed: https://github.com/elliotchance/pie
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 pie and assert you can also consider the following projects:
lo - 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
go-cmp - Package for comparing Go values in tests
slicesol
go-utils - Simple and performant utilies using Go generics inspired by JavaScript and Python
slicer - Utility class for handling slices
be - The Go test helper for minimalists
slice - Type-safe functions for common Go slice operations
genfuncs - Go 1.18+ polymorphic generic containers and functions.
go - The Go programming language
backoff - ⏱ The exponential backoff algorithm in Go
async - experimental promises in go1.18 with generics
go-testdeep - Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite