commit | 0603dab38513015f56e2fc4ae9cf278664de80ea | [log] [tgz] |
---|---|---|
author | Arthur Befumo <34725560+Arthur-Befumo@users.noreply.github.com> | Fri Nov 08 13:29:00 2019 -0500 |
committer | Abhinav Gupta <abg@uber.com> | Fri Nov 08 10:29:00 2019 -0800 |
tree | 874320f7be2922990d2d53a5dcac927ca68ca605 | |
parent | 824d08f79702fe5f54aca8400aa0d754318786e7 [diff] |
docs: multierr.Errors returns nil, not empty (#33) Previously the docs incorrectly stated that `multierr.Errors(err)` would return an empty slice rather than a nil slice, which would imply that `multierr.Errors(nil) == []error{}`, which isn't true. This updates the docs to reflect reality: `multierr.Errors(nil) == nil`.
multierr
allows combining one or more Go error
s together.
go get -u go.uber.org/multierr
Stable: No breaking changes will be made before 2.0.
Released under the MIT License.