githaven-fork/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>
2022-10-24 20:29:17 +01:00
..
main_test.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
oauth2_test.go Record OAuth client type at registration (#21316) 2022-10-24 15:59:24 +08:00
oauth2.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
session.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
source_test.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
source.go Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2022-10-18 07:50:37 +02:00
token_test.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
token.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
twofactor.go Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2022-10-18 07:50:37 +02:00
webauthn_test.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
webauthn.go Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2022-10-18 07:50:37 +02:00