mirror of
1
Fork 0
Commit Graph

5 Commits

Author SHA1 Message Date
Nanguan Lin 6a725b6f9c
Remove deadcode under models/issues ()
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`.
2023-12-19 20:12:02 +01:00
Lunny Xiao 537fa69962
Second part of refactor `db.Find` ()
Continue of  and move more functions to `db.Find` and `db.Count`.
2023-12-11 16:56:48 +08:00
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor ()
Part of 

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-10-11 04:24:07 +00:00
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor ()
Part of 
2023-09-16 14:39:12 +00:00
Lunny Xiao e3ed67859a
Move some functions to service layer () 2023-09-08 21:09:23 +00:00