problem description
use the redisgo command: redis.NewScript (keyCount, LuaSrcript) .Do (conn, args.)
but what is returned is [] interface {} how to convert a two-dimensional array?
related codes
luaScript: = "local rst= {}; for I in pairs (KEYS) do rst v in pairs (KEYS) do rst [I] = redis.call ("hgetall", v) end; return rst"
redis.NewScript (2, LuaSrcript) .Do (conn, "user:1", "user:2")