bench-forgejo/routers
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282)
* replace "200" (int) with "http.StatusOK" (const)

* ctx.Error & ctx.HTML

* ctx.JSON Part1

* ctx.JSON Part2

* ctx.JSON Part3
2021-04-05 11:30:52 -04:00
..
admin [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
api/v1 [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
dev [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
events Drop the event source if we are unauthorized (#15275) 2021-04-04 22:37:50 +01:00
org [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
private [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
repo [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
routes [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
user [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 2021-02-19 22:36:43 +01:00
home.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
init.go Print usefull error if SQLite is used in settings but not supported (#14476) 2021-01-27 04:57:18 +01:00
install.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
metrics.go Move metrics from macaron to chi (#13601) 2020-11-17 15:50:06 -05:00
swagger_json.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00