Skip to content

upgrade from github.com/go-redis/redis/v9 v9.0.0-rc.2 to github.com/redis/go-redis/v9 v9.0.2 but build failed #2422

@gzg1984

Description

@gzg1984

used depend on github.com/go-redis/redis/v9 v9.0.0-rc.2,
remove go.mod and redo mod init
first of all , found this

    github.com/go-redis/redis/v9: github.com/go-redis/redis/[email protected]: parsing go.mod:
    module declares its path as: github.com/redis/go-redis/v9
            but was required as: github.com/go-redis/redis/v9

then I changed all mod dependency to github.com/redis/go-redis/v9

then I found

    # github.com/redis/go-redis/v9/internal/hscan
    /root/go/pkg/mod/github.com/redis/go-redis/[email protected]/internal/hscan/structmap.go:89:23: undefined: reflect.Pointer

hope anybody reproduce the problem

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