b167f35113
To avoid deadlock problem, almost database related functions should be have ctx as the first parameter. This PR do a refactor for some of these functions. |
||
---|---|---|
.. | ||
access_log.go | ||
api.go | ||
api_org.go | ||
api_test.go | ||
base.go | ||
captcha.go | ||
context.go | ||
context_cookie.go | ||
context_model.go | ||
context_request.go | ||
context_response.go | ||
context_test.go | ||
csrf.go | ||
org.go | ||
package.go | ||
pagination.go | ||
permission.go | ||
private.go | ||
repo.go | ||
response.go | ||
utils.go | ||
xsrf.go | ||
xsrf_test.go |