2023-07-03 21:42:04 +08:00
|
|
|
package persistence
|
|
|
|
|
|
2024-01-21 22:52:20 +08:00
|
|
|
import (
|
|
|
|
|
"mayfly-go/pkg/ioc"
|
2023-07-03 21:42:04 +08:00
|
|
|
)
|
|
|
|
|
|
2024-03-02 19:08:19 +08:00
|
|
|
func InitIoc() {
|
2024-01-21 22:52:20 +08:00
|
|
|
ioc.Register(newMsgRepo(), ioc.WithComponentName("MsgRepo"))
|
2025-04-15 21:42:31 +08:00
|
|
|
ioc.Register(newMsgChannelRepo(), ioc.WithComponentName("MsgChannelRepo"))
|
|
|
|
|
ioc.Register(newMsgTmplRepo(), ioc.WithComponentName("MsgTmplRepo"))
|
|
|
|
|
ioc.Register(newMsgTmplChannelRepo(), ioc.WithComponentName("MsgTmplChannelRepo"))
|
|
|
|
|
ioc.Register(newMsgTmplBizRepo(), ioc.WithComponentName("MsgTmplBizRepo"))
|
2024-01-21 22:52:20 +08:00
|
|
|
}
|