Skip to content

vendor/github.com/redis/go-redis/v9/internal/hscan/structmap.go:89:23: undefined: reflect.Pointer #2457

@eepurichandra

Description

@eepurichandra

Issue tracker is used for reporting bugs and discussing new features. Please use
stackoverflow for supporting issues.
structmap.go:89:23: undefined: reflect.Pointer

Expected Behavior

Using go-redis should seamlessly work while running application.

Current Behavior

After using the go-redis package in the application, while starting application getting the below error
vendor/github.com/redis/go-redis/v9/internal/hscan/structmap.go:89:23: undefined: reflect.Pointer

Possible Solution

update https://github.com/redis/go-redis/blob/master/internal/hscan/structmap.go#L92 as shown below
isPtr := v.Kind() == reflect.Ptr

#2458

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions