mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-02 15:30:25 +08:00
14 lines
441 B
Go
14 lines
441 B
Go
package persistence
|
|
|
|
import (
|
|
"mayfly-go/pkg/ioc"
|
|
)
|
|
|
|
func InitIoc() {
|
|
ioc.Register(newMsgRepo(), ioc.WithComponentName("MsgRepo"))
|
|
ioc.Register(newMsgChannelRepo(), ioc.WithComponentName("MsgChannelRepo"))
|
|
ioc.Register(newMsgTmplRepo(), ioc.WithComponentName("MsgTmplRepo"))
|
|
ioc.Register(newMsgTmplChannelRepo(), ioc.WithComponentName("MsgTmplChannelRepo"))
|
|
ioc.Register(newMsgTmplBizRepo(), ioc.WithComponentName("MsgTmplBizRepo"))
|
|
}
|