Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errorsbp: Update for go 1.20 #591

Merged
merged 1 commit into from
Jan 5, 2023
Merged

Commits on Jan 5, 2023

  1. errorsbp: Update for go 1.20

    Go 1.20 is going to add native support for batched/multi errors, and we
    will be able to eventually deprecate errorsbp.Batch, but we can only do
    so after we dropped support for go 1.19.
    
    Before that, make errorsbp.Batch play nicer with go 1.20 by:
    
    * Implement the new `Unwrap() []error` optional interface.
    * Make errorsbp.BatchSize also support other errors implementing the new
      optional interface.
    fishy committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    7643c5c View commit details
    Browse the repository at this point in the history