-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Error building project with redis lib : duplicate method private #1715
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
Comments
Should be variation of #1534 |
hi @vmihailenco thanks for your response. |
Any solution to this @avikagg ? I'm having the same problem, but it was only introduced after I vendored opentelemetry after successfully using the redis package |
Turns out the opentelemetry library is not compatible with Go 1.13 or earlier. You are probably trying to build on an older Go version. https://golang.org/doc/go1.14#language |
redis#1715 (comment) Signed-off-by: monkey <golang@88.com>
* support resp3 protocol Signed-off-by: monkey <golang@88.com> * Upgrade mod version limit go1.14 #1715 (comment) Signed-off-by: monkey <golang@88.com> * Remove the redundant check of ReadReply Signed-off-by: monkey <golang@88.com> * fix the problem Signed-off-by: monkey <golang@88.com> * workflows add v9 Signed-off-by: monkey <golang@88.com> * update StringStringMapCmd to MapStringStringCmd Signed-off-by: monkey <golang@88.com>
I had this issue with go version 1.13. I installed the following go version 1.16, modified my go.mod file to the following: `module github.com/example go 1.16 require ( my code is attached: This worked and the output is below: Executing Example_JSONSET for Redigo Client I this is needs to be explicitly mentioned |
I got the same problem today. The I solved it by updating the version de the lib /go-redis. |
Seems to be fixed - closing. |
Issue tracker is used for reporting bugs and discussing new features. Please use
stackoverflow for supporting issues.
Trying to build sample project with redis library included.
Error:
Code:
Expected Behavior
Should build the executable file.
Current Behavior
Facing Error
What could be wrong here?
The text was updated successfully, but these errors were encountered: