Can you provide an example for get/set golang struct?
This is not a Redis client responsibility. You can use msgpack ( https://github.com/vmihailenco/msgpack ) or encoding/json to serialize Go struct. Then redis.Set and redis.Get can be used to store serialized struct in Redis DB.
Most helpful comment
This is not a Redis client responsibility. You can use msgpack ( https://github.com/vmihailenco/msgpack ) or encoding/json to serialize Go struct. Then redis.Set and redis.Get can be used to store serialized struct in Redis DB.