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

Replace github.com/pkg/errors with builtin errors #2658

Merged
merged 5 commits into from
Feb 24, 2023

Conversation

zzjin
Copy link
Collaborator

@zzjin zzjin commented Feb 23, 2023

Since Go version 1.13, the standard library has built-in support for wrapping and unwrapping of error values.

This PR removes all unneeded dependency on github.com/pkg/errors witch is beed archived..

@see: pkg/errors#245

Signed-off-by: zzjin <tczzjin@gmail.com>
Signed-off-by: zzjin <tczzjin@gmail.com>
Signed-off-by: zzjin <tczzjin@gmail.com>
@codecov
Copy link

codecov bot commented Feb 23, 2023

Codecov Report

Base: 64.81% // Head: 64.81% // No change to project coverage 👍

Coverage data is based on head (dcdd071) compared to base (b28cf0e).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2658   +/-   ##
=======================================
  Coverage   64.81%   64.81%           
=======================================
  Files           8        8           
  Lines         577      577           
=======================================
  Hits          374      374           
  Misses        171      171           
  Partials       32       32           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@zzjin zzjin mentioned this pull request Feb 23, 2023
Signed-off-by: zzjin <tczzjin@gmail.com>
Signed-off-by: zzjin <tczzjin@gmail.com>
@cuisongliu cuisongliu merged commit a0b8c59 into labring:main Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants