mirror of https://github.com/knative/caching.git
bumping knative.dev/pkg 4f651e0...81e4ee1:
> 81e4ee1 Bump go.uber.org/zap from 1.24.0 to 1.25.0 (# 2800)
> 2aafe0e Bump cloud.google.com/go/storage from 1.31.0 to 1.32.0 (# 2801)
> 2ad39e9 Bump github.com/hashicorp/golang-lru from 0.5.4 to 1.0.2 (# 2804)
> d36cc59 Bump google.golang.org/api from 0.136.0 to 0.138.0 (# 2802)
> 35b0890 Bump go.uber.org/automaxprocs from 1.4.0 to 1.5.3 (# 2803)
> 93a9858 upgrade to latest dependencies (# 2799)
bumping go.uber.org/multierr 3114a8b...8767aa9:
> 8767aa9 Prepare release v1.10 (# 74)
> 4504ef7 README: Add Features section (# 73)
> 2fd451d Drop external atomic dependency (# 72)
> 7876a02 Remove unused glide.yaml (# 71)
> 55bc553 Support Go 1.20 Unwrap() []error (# 69)
> 39ca40c Prepare release v1.9.0 (# 68)
> 4459990 Add a shorthand for AppendInvoke (# 65)
> 80b07a7 Document named return constraint for defer (# 63)
> 492b792 Test and lint against Go 1.19 (# 62)
>
|
||
---|---|---|
.. | ||
.codecov.yml | ||
.gitignore | ||
CHANGELOG.md | ||
LICENSE.txt | ||
Makefile | ||
README.md | ||
error.go | ||
error_post_go120.go | ||
error_pre_go120.go |
README.md
multierr

multierr
allows combining one or more Go error
s together.
Features
- Idiomatic:
multierr follows best practices in Go, and keeps your code idiomatic.
- It keeps the underlying error type hidden,
allowing you to deal in
error
values exclusively. - It provides APIs to safely append into an error from a
defer
statement.
- It keeps the underlying error type hidden,
allowing you to deal in
- Performant:
multierr is optimized for performance:
- It avoids allocations where possible.
- It utilizes slice resizing semantics to optimize common cases like appending into the same error object from a loop.
- Interoperable:
multierr interoperates with the Go standard library's error APIs seamlessly:
- The
errors.Is
anderrors.As
functions just work.
- The
- Lightweight: multierr comes with virtually no dependencies.
Installation
go get -u go.uber.org/multierr@latest
Status
Stable: No breaking changes will be made before 2.0.
Released under the MIT License.