1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 13:29:12 -05:00
forgejo/modules/private
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551)
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>
2022-10-24 20:29:17 +01:00
..
hook.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
internal.go log real ip of requests from ssh (#21216) 2022-10-11 16:57:37 +08:00
key.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
mail.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
manager.go Allow manager logging to set SQL (#20064) 2022-06-24 12:49:47 +02:00
restore_repo.go Update HTTP status codes to modern codes (#18063) 2022-03-23 12:54:07 +08:00
serv.go Fix the bug: deploy key with write access can not push (#19010) 2022-03-22 17:29:07 +08:00