commit | 91b99f42e572de2434ec45a9ed7d104bdc7b7bf5 | [log] [tgz] |
---|---|---|
author | Prashant Varanasi <github@prashantv.com> | Mon Mar 27 10:54:46 2017 -0700 |
committer | GitHub <noreply@github.com> | Mon Mar 27 10:54:46 2017 -0700 |
tree | fb433e8063c3872ac73a20a47d2ebba69d5cf72e | |
parent | de6740a55f8d778e53755317dc50aae950c760de [diff] |
Fix Append modifying a possibly shared array (#8) It's possible to have a multiError that is appended to multiple times causing an underlying array to be shared and end up getting modified. For now, remove the special case for `append(multiError, err)` which can cause this bug.
multierr
allows combining one or more Go error
s together.
go get -u go.uber.org/multierr
Beta
Released under the MIT License.