bench-forgejo/routers/api/v1
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800)
* refactor routers directory

* move func used for web and api to common

* make corsHandler a function to prohibit side efects

* rm unused func

Co-authored-by: 6543 <6543@obermui.de>
2021-06-09 01:33:54 +02:00
..
admin Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
misc Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
notify move notification APIFormat (#13783) 2020-12-02 09:24:35 +00:00
org Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
repo Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
settings Disable Stars config option (#14653) 2021-04-15 18:53:57 +02:00
swagger Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
user add some reponse status on api docs (#15399) 2021-04-11 09:53:23 +01:00
utils Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
api.go Add missing SameSite settings for the i_like_gitea cookie (#16037) 2021-05-31 14:22:36 -04:00