Files
mayfly-go/server/internal/flow/infrastructure/persistence/persistence.go

12 lines
295 B
Go
Raw Normal View History

package persistence
import (
"mayfly-go/pkg/ioc"
)
2024-03-02 19:08:19 +08:00
func InitIoc() {
ioc.Register(newProcdefRepo(), ioc.WithComponentName("ProcdefRepo"))
ioc.Register(newProcinstRepo(), ioc.WithComponentName("ProcinstRepo"))
ioc.Register(newProcinstTaskRepo(), ioc.WithComponentName("ProcinstTaskRepo"))
}