0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-11 10:34:59 +01:00
gitea/services/context
wxiaoguang e0ea3811c4
Refactor AddParam to AddParamIfExist (#29834)
When read the code: `pager.AddParam(ctx, "search", "search")`, the
question always comes: What is it doing? Where is the value from? Why
"search" / "search" ?

Now it is clear: `pager.AddParamIfExist("search", ctx.Data["search"])`
2024-03-16 10:20:13 +01:00
..
upload
access_log.go
api_org.go
api_test.go
api.go
base_test.go
base.go
captcha.go
context_cookie.go
context_model.go
context_request.go
context_response.go
context_template.go
context_test.go
context.go
csrf.go
org.go
package.go
pagination.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
permission.go
private.go
repo.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
response.go
user.go
utils.go
xsrf_test.go
xsrf.go