mirror of
https://github.com/redis/go-redis.git
synced 2025-08-08 23:42:06 +03:00
Add SliceCmd.Scan() (hscan pkg) and tests
This commit is contained in:
@@ -61,7 +61,7 @@ func getStructFields(t reflect.Type, fieldTag string) *structFields {
|
||||
for i := 0; i < num; i++ {
|
||||
f := t.Field(i)
|
||||
|
||||
tag := t.Field(i).Tag.Get(fieldTag)
|
||||
tag := f.Tag.Get(fieldTag)
|
||||
if tag == "" || tag == "-" {
|
||||
continue
|
||||
}
|
||||
|
Reference in New Issue
Block a user