feat: 更新命令包以使用新的默认提供程序,增强模块化支持
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"go.ipao.vip/atom"
|
||||
"go.ipao.vip/atom/container"
|
||||
"go.ipao.vip/atom/contracts"
|
||||
"{{.ModuleName}}/app/commands"
|
||||
"{{.ModuleName}}/app/grpc/users"
|
||||
"{{.ModuleName}}/providers/app"
|
||||
"{{.ModuleName}}/providers/grpc"
|
||||
@@ -15,7 +16,7 @@ import (
|
||||
)
|
||||
|
||||
func defaultProviders() container.Providers {
|
||||
return srv.Default(container.Providers{
|
||||
return commands.Default(container.Providers{
|
||||
postgres.DefaultProvider(),
|
||||
grpc.DefaultProvider(),
|
||||
}...)
|
||||
|
||||
Reference in New Issue
Block a user