mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-12-24 08:12:55 +08:00
更新go依赖库
This commit is contained in:
@@ -3,9 +3,10 @@ package util
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/go-redis/redis/v8"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/redis/go-redis/v9"
|
||||
)
|
||||
|
||||
type RedisUtil struct {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"x_admin/config"
|
||||
"x_admin/core"
|
||||
|
||||
"github.com/go-redis/redis/v9"
|
||||
"github.com/redis/go-redis/v9"
|
||||
)
|
||||
|
||||
var RedisUtil = redisUtil{redis: core.Redis}
|
||||
|
||||
Reference in New Issue
Block a user