Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

txgruppi/errorgroup-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoDoc Codeship Codecov Go Report Card

Error Group

ErrorGroup is an error type that can hold other errors together.

Installation

go get -u github.com/txgruppi/errorgroup

Why?

Sometimes I have a loop running functions in parallel and because of the existing API of most the Go libs I need to return only one error.

I don't want to throw away such important information, so I group them together.

Tests

go get -u -t github.com/txgruppi/errorgroup-go
cd $GOPATH/src/github.com/txgruppi/errorgroup-go
go test ./...

License

MIT

About

ErrorGroup is an error type that can hold other errors together.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages