cockroachdb / errors

Go error library with error portability over the network
Apache License 2.0
2.04k stars 66 forks source link

Remove all go 1.20 features from test usage #123

Closed dhartunian closed 11 months ago

dhartunian commented 11 months ago

This commit removes all test code that references:

This commit also reverts go.mod to use 1.17 to match the state of the codebase from before the go 1.20 upgrade.

This allows older codebases to upgrade to a version of this library that can encode/decode multi-cause errors from newer versions without completely discarding the child cause error info.


This change is Reviewable