bench-forgejo/routers
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
..
api/v1 Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
common Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
install Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
private Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 2021-02-19 22:36:43 +01:00
web Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
init.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00