go-redis/cache

Allow setting msgpack struct tag

fridolin-koch opened this issue · 0 comments

What do you think about adding an option to change the default msgpack struct tag? https://msgpack.uptrace.dev/#using-json-struct-tags

That would make it possible to change the struct tag without duplicating the whole marshal/unmarshal logic. Maybe a configuration option CodecStructTag or MarshalStructTag or just MsgpackStructTag

Thanks!