Commit Graph

7 Commits (532e422027c88a4a3dc0c2968857f8d5f94d861f)

Author SHA1 Message Date
techknowlogick a346a8c852
bump to use go 1.22 ()
Lunny Xiao 9852c92e9a
Remove unnecessary parameter ()
JakobDev cc5df26680
Even more `db.DefaultContext` refactor ()
Part of 

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
JakobDev c548dde205
More refactoring of `db.DefaultContext` ()
Next step of 
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` ()
Part of 

This reduces the usage of `db.DefaultContext`. I think I've got enough
files for the first PR. When this is merged, I will continue working on
this.

Considering how many files this PR affect, I hope it won't take to long
to merge, so I don't end up in the merge conflict hell.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Lunny Xiao 4f32abaf94
move repository deletion to service layer ()
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Lunny Xiao b9df9fa2e2
Move createrepository from module to service layer ()
Repository creation depends on many models, so moving it to service
layer is better.