Go Redis convert HGetAll result to struct
I'm getting data from the redis.HGetAll but found no clean way to convert results into my Struct. var object struct { x int } result := redisClient.HGetAll(context.Background(), "the_h_key") //TODO import the result content into the object Is there any function…