mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-28 10:26:35 +08:00
refactor: 消息模块重构,infra包路径简写等
This commit is contained in:
9
server/internal/redis/infra/persistence/persistence.go
Normal file
9
server/internal/redis/infra/persistence/persistence.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"mayfly-go/pkg/ioc"
|
||||
)
|
||||
|
||||
func InitIoc() {
|
||||
ioc.Register(newRedisRepo(), ioc.WithComponentName("RedisRepo"))
|
||||
}
|
||||
Reference in New Issue
Block a user