2024-02-29 22:12:50 +08:00
|
|
|
package init
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"mayfly-go/initialize"
|
2024-12-16 23:29:18 +08:00
|
|
|
"mayfly-go/internal/flow/api"
|
2024-02-29 22:12:50 +08:00
|
|
|
"mayfly-go/internal/flow/application"
|
2024-03-02 19:08:19 +08:00
|
|
|
"mayfly-go/internal/flow/infrastructure/persistence"
|
2024-02-29 22:12:50 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func init() {
|
2024-03-02 19:08:19 +08:00
|
|
|
initialize.AddInitIocFunc(func() {
|
|
|
|
|
persistence.InitIoc()
|
|
|
|
|
application.InitIoc()
|
2024-12-16 23:29:18 +08:00
|
|
|
api.InitIoc()
|
2024-03-02 19:08:19 +08:00
|
|
|
})
|
2025-05-20 21:04:47 +08:00
|
|
|
|
|
|
|
|
initialize.AddInitFunc(application.Init)
|
2024-02-29 22:12:50 +08:00
|
|
|
}
|