You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/models/auth
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>
2 years ago
..
main_test.go Move some files into models' sub packages (#20262) 2 years ago
oauth2.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
oauth2_test.go Record OAuth client type at registration (#21316) 2 years ago
session.go Refactor auth package (#17962) 3 years ago
source.go Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
source_test.go Move some files into models' sub packages (#20262) 2 years ago
token.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
token_test.go Move some files into models' sub packages (#20262) 2 years ago
twofactor.go Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
webauthn.go Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
webauthn_test.go Move some files into models' sub packages (#20262) 2 years ago