1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 14:14:25 +00:00
gitea/routers/api/v1/misc
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
..
gitignore.go Add API for gitignore templates (#22783) 2023-04-27 11:51:20 +08:00
label_templates.go Add API for Label templates (#24602) 2023-05-23 18:10:23 +08:00
licenses.go Add API for License templates (#23009) 2023-04-26 02:08:28 -04:00
markup_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
markup.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
nodeinfo.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
signing.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
version.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00