approveflow/app/provider/kernel.go

20 lines
547 B
Go
Raw Normal View History

2024-11-14 17:02:41 +08:00
package provider
import (
"approveflow/app/provider/database_connect"
"approveflow/app/provider/flow_definition"
"approveflow/app/provider/flow_instance"
"approveflow/app/provider/user"
"github.com/Superdanda/hade/framework"
)
func BindAppProvider(container framework.Container) {
// 数据库连接
container.Bind(&database_connect.DatabaseConnectProvider{})
// 其他业务模块
container.Bind(&user.UserProvider{})
container.Bind(&flow_definition.FlowDefinitionProvider{})
container.Bind(&flow_instance.FlowInstanceProvider{})
}