forked from gitea/gitea
1
0
Fork 0
gitea/services/asymkey
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163)
* Remove `db.DefaultContext` usage in routers, use `ctx` directly

* Use `ctx` directly if there is one, remove some `db.DefaultContext` in `services`

* Use ctx instead of db.DefaultContext for `cmd` and some `modules` packages

* fix incorrect context usage
2022-03-22 16:22:54 +01:00
..
deploy_key.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
main_test.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
sign.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
ssh_key.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
ssh_key_test.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00