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

implement ".Unwrap() error" on Error type (#2525) #2526

merged 4 commits into from Oct 17, 2020


Copy link

@LeGEC LeGEC commented Oct 9, 2020

Implement .Unwrap() error method on type Error, to be compatible with stdlib errors.Is() and erors.As() functions.

Copy link

codecov bot commented Oct 9, 2020

Codecov Report

Merging #2526 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2526   +/-   ##
  Coverage   98.46%   98.46%           
  Files          41       41           
  Lines        1951     1952    +1     
+ Hits         1921     1922    +1     
  Misses         17       17           
  Partials       13       13           
Impacted Files Coverage Δ
errors.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c83a1cc...41c0dff. Read the comment docs.

appleboy previously approved these changes Oct 14, 2020
@appleboy appleboy requested a review from thinkerou Oct 14, 2020
@appleboy appleboy added this to the 1.7 milestone Oct 14, 2020
Copy link

@thinkerou thinkerou left a comment


@thinkerou thinkerou merged commit f969bfa into gin-gonic:master Oct 17, 2020
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

3 participants