0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 03:34:28 +01:00
gitea/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
install.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
metrics.go
swagger_json.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00