feat: implement new structure

This commit is contained in:
2025-12-29 09:30:49 +08:00
parent 503b15aab7
commit ad52371028
116 changed files with 17579 additions and 1213 deletions

View File

@@ -6,7 +6,7 @@ import (
"quyun/v2/app/commands"
"quyun/v2/app/errorx"
"quyun/v2/app/http/web"
appHttp "quyun/v2/app/http"
"quyun/v2/app/jobs"
"quyun/v2/app/middlewares"
"quyun/v2/app/services"
@@ -46,11 +46,13 @@ func Command() atom.Option {
atom.RunE(Serve),
atom.Providers(
defaultProviders().
WithProviders(
appHttp.Providers(),
).
With(
jobs.Provide,
services.Provide,
middlewares.Provide,
web.Provide,
),
),
)