package dbHelper import "testing" type res struct { RLLYCJ string `json:"LLYCJ"` RLLCacheMap string `json:"LLCacheMap"` } func TestRedis(t *testing.T) { addr := "10.8.30.160:30379" redis := NewRedisHelper("", addr) key1 := "RLLYCJ" //v := redis.Get(key1) //println(v) key2 := "RLLCacheMap" res1 := res{} v2 := redis.MGet(&res1, key1, key2) println(v2) }