mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-27 09:56:35 +08:00
!93 feat: DBMS支持mssql和一些功能优化
* feat: 表格+表格元数据缓存 * feat:跳板机支持多段跳 * fix: 所有数据库区分字段主键和自增 * feat: DBMS支持mssql * refactor: 去除无用的getter方法
This commit is contained in:
@@ -1,14 +1,9 @@
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"mayfly-go/internal/redis/domain/repository"
|
||||
"mayfly-go/pkg/ioc"
|
||||
)
|
||||
|
||||
func Init() {
|
||||
ioc.Register(newRedisRepo(), ioc.WithComponentName("RedisRepo"))
|
||||
}
|
||||
|
||||
func GetRedisRepo() repository.Redis {
|
||||
return ioc.Get[repository.Redis]("RedisRepo")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user