-
Notifications
You must be signed in to change notification settings - Fork 181
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
github.com/pkg/errors is in maintenance mode #175
Comments
+1 |
Shameless plug: you can also switch it to drop-in replacement |
I don't really see a reason to switch honestly. Sure it's it maintenance mode, but it's not hurting anything. What would be gained by changing? |
For instance you will be able to correctly use |
That's only for the code within json-patch to use |
For instance we are validating a set of patches in advance before applying all or them or nothing and we want to ignore/tolerate failures on Currently we are doing:
as Another option would be about introducing something like |
I prefer |
While investigating this package as a possible solution, I noticed that it is using
github.com/pkg/errors
. This package has been archived, presumably because go 1.13 now natively provides the bulk of the functionality that this errors package used to provide. Given that go 1.20 is now out, it would probably be worthwhile to update the interface accordingly.The text was updated successfully, but these errors were encountered: