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.
6 files changed
tree: 183bb4f71bf2f8b8438f80385ffbe6449c942dfc
  1. tools/
  2. .codecov.yml
  3. .gitignore
  4. .travis.yml
  5. appendinvoke_example_test.go
  6. benchmarks_test.go
  7. CHANGELOG.md
  8. error.go
  9. error_ext_test.go
  10. error_test.go
  11. example_test.go
  12. glide.yaml
  13. go.mod
  14. go.sum
  15. LICENSE.txt
  16. Makefile
  17. README.md
README.md

multierr GoDoc Build Status Coverage Status

multierr allows combining one or more Go errors together.

Installation

go get -u go.uber.org/multierr

Status

Stable: No breaking changes will be made before 2.0.


Released under the MIT License.