Found using
`find . -type f -name '*.go' -print -exec vim {} -c
':%s/fmt\.Errorf(\(.*\)%v\(.*\)err/fmt.Errorf(\1%w\2err/g' -c ':wq' \;`
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
||
|---|---|---|
| .. | ||
| cherry_pick.go | ||
| commit.go | ||
| content.go | ||
| content_test.go | ||
| delete.go | ||
| diff.go | ||
| diff_test.go | ||
| file.go | ||
| file_test.go | ||
| patch.go | ||
| temp_repo.go | ||
| tree.go | ||
| tree_test.go | ||
| update.go | ||
| upload.go | ||