/first-nonerr

Primary LanguageGoMIT LicenseMIT

README

This provides a method for retrieving the first non-error response from a slice of items using generics, channels, and goroutines. It solves the StackOverflow question here.

go get -u github.com/auoie/first-nonerr