feat: implement new structure
This commit is contained in:
@@ -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,
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user