mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-02 08:57:32 -04:00
b49a195839
NewTestEngine() takes a *xorm.Engine as its argument, and then immediately overwrites it. This fixes the model package to not take an unneeded variable, and changes the routers package to not create a nil *xorm.Engine that is immediately discarded by model. |
||
---|---|---|
.. | ||
admin | ||
api/v1 | ||
dev | ||
events | ||
org | ||
private | ||
repo | ||
routes | ||
user | ||
utils | ||
home.go | ||
init.go | ||
install.go | ||
metrics.go | ||
swagger_json.go |