Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
eepurichandra opened this issue Feb 23, 2023 · 1 comment

Comments

@eepurichandra
Copy link
Contributor

eepurichandra commented Feb 23, 2023

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

@eepurichandra
Copy link
Contributor Author

Fixed in #2458.
waiting for release to happen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants