-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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 all instances of fmt.Errorf(%v) with fmt.Errorf(%w) #21551
Merged
zeripath
merged 12 commits into
go-gitea:main
from
delvh:maintenance/w-instead-of-v-for-errorf
Oct 24, 2022
Merged
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) #21551
zeripath
merged 12 commits into
go-gitea:main
from
delvh:maintenance/w-instead-of-v-for-errorf
Oct 24, 2022
Commits on Oct 22, 2022
-
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w)
Found using `find . -type f -name '*.go' -print -exec vim {} -c ':%s/fmt\.Errorf(\(.*\)%v\(.*\)err/fmt.Errorf(\1%w\2err/g' -c ':wq' \;`
Configuration menu - View commit details
-
Copy full SHA for 653678e - Browse repository at this point
Copy the full SHA 653678eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3856df - Browse repository at this point
Copy the full SHA f3856dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 159599b - Browse repository at this point
Copy the full SHA 159599bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c4118d - Browse repository at this point
Copy the full SHA 7c4118dView commit details
Commits on Oct 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d3f5d86 - Browse repository at this point
Copy the full SHA d3f5d86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ad7584 - Browse repository at this point
Copy the full SHA 5ad7584View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e8764d - Browse repository at this point
Copy the full SHA 8e8764dView commit details -
Update services/repository/files/upload.go
Co-authored-by: zeripath <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for fcbb003 - Browse repository at this point
Copy the full SHA fcbb003View commit details -
Configuration menu - View commit details
-
Copy full SHA for 624ab5b - Browse repository at this point
Copy the full SHA 624ab5bView commit details
Commits on Oct 24, 2022
-
Merge remote-tracking branch 'origin/main' into maintenance/w-instead…
…-of-v-for-errorf
Configuration menu - View commit details
-
Copy full SHA for 506e8b2 - Browse repository at this point
Copy the full SHA 506e8b2View commit details -
Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 8d39545 - Browse repository at this point
Copy the full SHA 8d39545View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c27bc0 - Browse repository at this point
Copy the full SHA 4c27bc0View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.