refactor: Remove unused code and update dependencies

This commit is contained in:
Marvin Zhang
2024-07-13 11:08:56 +08:00
parent 54cf19f679
commit 9073f1ca02
8 changed files with 154 additions and 134 deletions

View File

@@ -31,10 +31,3 @@ func initModule(name string, fn func() error) (err error) {
log.Info(fmt.Sprintf("initialized %s successfully", name))
return nil
}
func initApp(name string, app App) {
_ = initModule(name, func() error {
app.Init()
return nil
})
}