gitea/services/mailer
delvh 0ebb45cfe7
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' \;`

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
..
mail.go Move some files into models' sub packages ()
mail_comment.go Add generic set type ()
mail_issue.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) ()
mail_release.go Add team member invite by email ()
mail_repo.go Refactor `i18n` to `locale` ()
mail_team_invite.go Add team member invite by email ()
mail_test.go Move some files into models' sub packages ()
mailer.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) ()
mailer_test.go refactoring nits ()
main_test.go Use a struct as test options ()