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

Use '%w' syntax in fmt.Errorf #343

Merged
merged 1 commit into from Feb 5, 2021
Merged

Use '%w' syntax in fmt.Errorf #343

merged 1 commit into from Feb 5, 2021

Conversation

cimnine
Copy link
Contributor

@cimnine cimnine commented Feb 5, 2021

Summary

I've quickly scanned through all invocations of fmt.Errorf to ensure that they use the '%w' syntax to wrap the respective error.

Checklist

  • Keep pull requests small so they can be easily reviewed.
  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking,
    as they show up in the changelog
  • Update the documentation.
  • Update tests.
  • Link this PR to related issues.

@cimnine cimnine added the change Generic change that is neither a fix or feature label Feb 5, 2021
@cimnine cimnine requested a review from ccremer February 5, 2021 09:41
@cimnine cimnine merged commit 070ec01 into master Feb 5, 2021
@cimnine cimnine deleted the Errorf branch February 5, 2021 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change Generic change that is neither a fix or feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants