Fix: remove unused code according to golangci-lint
This commit is contained in:
8
adapter/cache/redis/redis_test.go
vendored
8
adapter/cache/redis/redis_test.go
vendored
@@ -27,11 +27,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
initError = "init err"
|
||||
setError = "set Error"
|
||||
checkError = "check err"
|
||||
getError = "get err"
|
||||
getMultiError = "GetMulti Error"
|
||||
initError = "init err"
|
||||
setError = "set Error"
|
||||
)
|
||||
|
||||
func TestRedisCache(t *testing.T) {
|
||||
@@ -121,5 +118,4 @@ func TestCacheScan(t *testing.T) {
|
||||
if err = bm.ClearAll(); err != nil {
|
||||
t.Error("clear all err")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user