forgejo/routers/api
Jason Song 7adc2de464
Use context parameter in models/git ()
After , we can feel free to use transactions without
`db.DefaultContext`.

And there are still lots of models using `db.DefaultContext`, I think we
should refactor them carefully and one by one.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-01-09 11:50:54 +08:00
..
packages Use ErrInvalidArgument in packages () 2022-12-31 12:49:37 +01:00
v1 Use context parameter in models/git () 2023-01-09 11:50:54 +08:00