forgejo/routers/repo
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
..
activity.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
attachment.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
blame.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
branch.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
commit.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
compare.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
download.go
editor.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
editor_test.go
http.go
issue.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
issue_dependency.go
issue_label.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
lfs.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
main_test.go
middlewares.go
migrate.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
milestone.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
projects.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
projects_test.go
pull.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
pull_review.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
release.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
release_test.go
repo.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
search.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
setting.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
setting_protected_branch.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
settings_test.go
topic.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
view.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
webhook.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
wiki.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
wiki_test.go