commit | 1014a7cd66381a738429b859c406cee9a52bcba4 | [log] [tgz] |
---|---|---|
author | Abhinav Gupta <abg@uber.com> | Thu May 06 10:21:19 2021 -0700 |
committer | GitHub <noreply@github.com> | Thu May 06 10:21:19 2021 -0700 |
tree | 183bb4f71bf2f8b8438f80385ffbe6449c942dfc | |
parent | a402392041e62e45d06e1930b2795ea5d5205772 [diff] |
AppendInvoke: Merge test, real example (#48) Follow up to #47 with the following changes. - The tests for AppendInvoke with Close duplicate the tests for AppendInvoke. These can be merged, and the unit tests for Close only need to verify whether the Invoker returned by multierr.Close calls the Close function in the provided io.Closer. - Replace AppendInvoke example with something more realistic. - Update changelog.
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.