From 87151f0fb14ad1355158805b23818f95a0e38af1 Mon Sep 17 00:00:00 2001 From: huangjuajun <102564160@qq.com> Date: Mon, 30 May 2022 11:57:02 +0800 Subject: [PATCH] add Reverse:for v1.0.9 --- go.mod | 1 + utils/cache/redis.go | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index a29964f..4575af7 100644 --- a/go.mod +++ b/go.mod @@ -8,6 +8,7 @@ require ( github.com/gin-gonic/gin v1.7.7 github.com/go-creed/sat v1.0.3 github.com/go-redis/redis v6.15.9+incompatible + github.com/gomodule/redigo v2.0.0+incompatible github.com/json-iterator/go v1.1.12 // indirect github.com/makiuchi-d/gozxing v0.1.1 github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect diff --git a/utils/cache/redis.go b/utils/cache/redis.go index b04cc80..73d7cad 100644 --- a/utils/cache/redis.go +++ b/utils/cache/redis.go @@ -3,11 +3,10 @@ package zhios_tool_cache import ( "encoding/json" "errors" + redigo "github.com/gomodule/redigo/redis" "log" "strings" "time" - - redigo "github.com/gomodule/redigo/redis" ) // configuration