mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-31 03:46:34 +08:00
refactor: 去除无用的getter方法
This commit is contained in:
@@ -10,7 +10,3 @@ func InitIoc() {
|
||||
|
||||
ioc.Register(new(redisAppImpl), ioc.WithComponentName("RedisApp"))
|
||||
}
|
||||
|
||||
func GetRedisApp() Redis {
|
||||
return ioc.Get[Redis]("RedisApp")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user