redis / go-redis

Redis Go client
https://redis.uptrace.dev
BSD 2-Clause "Simplified" License
19.61k stars 2.31k forks source link

add: hscan data struct #2926

Open 7134g opened 4 months ago

7134g commented 4 months ago

I think the hash stored using encoding.BinaryMarshaler, then parse time should also use encoding.BinaryUnmarshaler parsing Now write using encoding.BinaryMarshaler Scan reads using encoding.TextUnmarshaler Look strange

so add case:

encoding.BinaryUnmarshaler encoding.TextMarshaler