Commit Graph

5 Commits (3084c990b04aea16278f012da38152ada1290a0d)

Author SHA1 Message Date
Nanguan Lin 6a725b6f9c
Remove deadcode under models/issues (#28536)
Using the Go Official tool `golang.org/x/tools/cmd/deadcode@latest`
mentioned by [go blog](https://go.dev/blog/deadcode).
Just use `deadcode .` in the project root folder and it gives a list of
unused functions. Though it has some false alarms.
This PR removes dead code detected in `models/issues`.
1 year ago
Lunny Xiao 537fa69962
Second part of refactor `db.Find` (#28194)
Continue of #27798 and move more functions to `db.Find` and `db.Count`.
1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414)
Part of #27065

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089)
Part of #27065
1 year ago
Lunny Xiao e3ed67859a
Move some functions to service layer (#26969) 1 year ago