mirror of
https://github.com/redis/go-redis.git
synced 2025-04-19 07:22:17 +03:00
* fix: add bytes in scan struct example Signed-off-by: rfyiamcool <rfyiamcool@163.com> * fix: add bytes in scan struct example Signed-off-by: rfyiamcool <rfyiamcool@163.com> --------- Signed-off-by: rfyiamcool <rfyiamcool@163.com> Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
Example for scanning hash fields into a struct
To run this example:
go run .
See Redis: Scanning hash fields into a struct for details.