gitea/routers/api
wxiaoguang e8aae43f56
Move web/api context related testing function into a separate package (#26859)
Just like `models/unittest`, the testing helper functions should be in a
separate package: `contexttest`

And complete the TODO:

> // TODO: move this function to other packages, because it depends on
"models" package
2023-09-01 11:26:07 +00:00
..
actions Use Set[Type] instead of map[Type]bool/struct{}. (#26804) 2023-08-30 06:55:25 +00:00
packages Add auth-required to config.json for Cargo http registry (#26729) 2023-08-28 07:05:39 +00:00
v1 Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00