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{}) }