conv
Fast conversions across various Go types with a simple API. (by cstockton)
go-multierror
A Go (golang) package for representing a list of errors as a single error. (by hashicorp)
conv | go-multierror | |
---|---|---|
- | 16 | |
385 | 2,183 | |
- | 0.8% | |
1.8 | 4.6 | |
over 2 years ago | 8 days ago | |
Go | Go | |
MIT License | Mozilla Public License 2.0 |
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.
conv
Posts with mentions or reviews of conv.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning conv yet.
Tracking mentions began in Dec 2020.
go-multierror
Posts with mentions or reviews of go-multierror.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-18.
-
In what ways are channels are better than the traditional await?
Some packages offer utilities to gather results from goroutines, such as multierror.Group or parallel.Map in samber/lo.
-
ResultGroup: Go lib for concurrent tasks & errors management
I've created a simple Go library for managing concurrent tasks, results, and errors. Inspired by HashiCorp's go-multierror, it simplifies running goroutines, collecting results, and error handling by minimizing boilerplate code.
-
Valgo is a type-safe, expressive, and extensible validator library for Golang.
This looks great and can be integrated into ORM. What about adopting go-multierror?
- Multiple error wrapping is coming in Go 1.20
- mdobak/go-xerrors: Yet another error handling library.
-
Multiple error handling in Go
Unlike errgroup, github.com/hashicorp/go-multierror cannot be interrupted by context. However, it is useful for use cases where you need to check all errors and handle them carefully, because you can keep all errors.
- A simple and easy-to-use batch error implementation.
- Better error handling in Golang: Theory and practical tips
-
SimpleFlow - Simplified generic workflows and concurrency patterns
I found that it was also useful to introduce https://github.com/hashicorp/go-multierror so if one or more single work items returns an error, we can also batch the errors as a single thing.
- If you absolutely must create a generic Optional…
What are some alternatives?
When comparing conv and go-multierror you can also consider the following projects:
go.uuid - UUID package for Go
multierr - Combine one or more Go errors together
gofakeit - Random fake data generator written in go
errors - Simple error handling primitives
afero - A FileSystem Abstraction System for Go
go-chat-bot - IRC, Slack, Telegram and RocketChat bot written in go
autoflags - Populate go command line app flags from config struct
errorx - A comprehensive error handling library for Go
health - An easy to use, extensible health check library for Go applications.
werr
slacker - Slack Bot Framework