|
|
@ -8,13 +8,10 @@ import ( |
|
|
|
|
|
|
|
func Test_Exists(t *testing.T) { |
|
|
|
|
|
|
|
RedisInit("10.62.29.23:6379", "123456") |
|
|
|
RedisInit("127.0.0.1:6379", "123456") |
|
|
|
|
|
|
|
ret3, err := Exists("testing23") |
|
|
|
ret3, err := Exists("60007_product2") |
|
|
|
t.Log(ret3) |
|
|
|
t.Log(err) |
|
|
|
|
|
|
|
ret4, err := HExists("testing23", "cc") |
|
|
|
t.Log(ret4) |
|
|
|
t.Log(err) |
|
|
|
} |