增加获取key的有效期

This commit is contained in:
2024-10-09 18:18:49 +08:00
parent ec5f5f0161
commit a85ebc0203
3 changed files with 27 additions and 13 deletions

2
go.mod
View File

@ -3,6 +3,7 @@ module git.zhangdeman.cn/zhangdeman/redis
go 1.22.4
require (
git.zhangdeman.cn/zhangdeman/consts v0.0.0-20241009101709-d8400fb206b4
git.zhangdeman.cn/zhangdeman/util v0.0.0-20240618042405-6ee2c904644e
git.zhangdeman.cn/zhangdeman/wrapper v0.0.0-20240924063449-ef80c6cb79d1
github.com/pkg/errors v0.9.1
@ -12,7 +13,6 @@ require (
)
require (
git.zhangdeman.cn/zhangdeman/consts v0.0.0-20241008084126-0b1c661317ee // indirect
git.zhangdeman.cn/zhangdeman/easymap v0.0.0-20240311030808-e2a2e6a3c211 // indirect
git.zhangdeman.cn/zhangdeman/op_type v0.0.0-20240122104027-4928421213c0 // indirect
git.zhangdeman.cn/zhangdeman/serialize v0.0.0-20240618035451-8d48a6bd39dd // indirect