mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-02 23:40:24 +08:00
19 lines
328 B
Go
19 lines
328 B
Go
package init
|
|
|
|
import (
|
|
"mayfly-go/initialize"
|
|
"mayfly-go/internal/flow/api"
|
|
"mayfly-go/internal/flow/application"
|
|
"mayfly-go/internal/flow/infra/persistence"
|
|
)
|
|
|
|
func init() {
|
|
initialize.AddInitIocFunc(func() {
|
|
persistence.InitIoc()
|
|
application.InitIoc()
|
|
api.InitIoc()
|
|
})
|
|
|
|
initialize.AddInitFunc(application.Init)
|
|
}
|