forgejo/routers/admin
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.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
admin_test.go
auths.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
emails.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
hooks.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
main_test.go
notice.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
orgs.go
repos.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
users.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
users_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00