1
0
mirror of https://github.com/go-gitea/gitea synced 2025-01-09 09:36:02 +01:00
gitea/routers
6543 16dea6cebd
[refactor] replace int with httpStatusCodes ()
* 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 () 2021-04-05 11:30:52 -04:00
api/v1 [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
dev [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
events Drop the event source if we are unauthorized () 2021-04-04 22:37:50 +01:00
org [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
private [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
repo [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
routes [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
user [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL () 2021-02-19 22:36:43 +01:00
home.go [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
init.go Print usefull error if SQLite is used in settings but not supported () 2021-01-27 04:57:18 +01:00
install.go [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00
metrics.go Move metrics from macaron to chi () 2020-11-17 15:50:06 -05:00
swagger_json.go [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00