Commit Graph

2 Commits

Author SHA1 Message Date
hxt
61cb21fdc7 refactor(cache): 抽离 Redis 缓存初始化逻辑
- 新增 utility/cache.go 文件,定义全局的 RedisCache 变量
- 修改 hero.go 中的缓存使用方式,使用新的 RedisCache 全局变量
- 更新 main.go,移除冗余的包引用
2025-06-21 23:06:45 +08:00
hu xiaotong
85e3a6540b init 2025-06-20 17:17:02 +08:00