commit | 4a27324ebb71d5097bb088c40aa6348a52c57829 | [log] [tgz] |
---|---|---|
author | George Xie <george@xiegeo.com> | Fri Apr 24 01:01:20 2020 +0800 |
committer | GitHub <noreply@github.com> | Thu Apr 23 10:01:20 2020 -0700 |
tree | 0416e44378506f512da91b5fd00934b704d9e541 | |
parent | b587143a48b62b01d337824eab43700af6ffe222 [diff] |
docs: Add missing value in example (#37) Fix print statement in example to actually include the combined error object.
diff --git a/error.go b/error.go index 04eb961..5c9b67d 100644 --- a/error.go +++ b/error.go
@@ -54,7 +54,7 @@ // // errors := multierr.Errors(err) // if len(errors) > 0 { -// fmt.Println("The following errors occurred:") +// fmt.Println("The following errors occurred:", errors) // } // // Advanced Usage