feat: 更新命令包以使用新的默认提供程序,增强模块化支持

This commit is contained in:
Rogee
2025-09-23 16:01:25 +08:00
parent 13e721532d
commit 14ccc7e188
7 changed files with 12 additions and 6 deletions

View File

@@ -6,6 +6,7 @@ import (
"go.ipao.vip/atom"
"go.ipao.vip/atom/container"
"go.ipao.vip/atom/contracts"
"{{.ModuleName}}/app/commands"
"{{.ModuleName}}/app/errorx"
"{{.ModuleName}}/app/jobs"
_ "{{.ModuleName}}/docs"
@@ -23,7 +24,7 @@ import (
)
func defaultProviders() container.Providers {
return srv.Default(container.Providers{
return commands.Default(container.Providers{
http.DefaultProvider(),
postgres.DefaultProvider(),
jwt.DefaultProvider(),