-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BUG] <Docker build problems with go get command> #765
Comments
You're using Go 1.15, which is EOL and doesn't support the |
The any keyword happened in Go 1.18. I’d recommend an image something like golang:1.20-alpine at least. When you are looking at golang repos in the future take a look at the go version listed in go.mod. That will help indicate to you what minimum version you’ll need. All the best with your project! |
I changed to 1.18 version and try 1.20. But it didn't solve problem. |
Yes, I suspect the code / example code you're trying to build is outdated; go nowadays requires a version to be specified if you run |
Is there an existing issue for this?
Current Behavior
Hello. I study the Docker course on the coursera.com.

I use the command go get github.com/gorilla/mux . An error is coming out. Please help me solve the problem. I tried changing it to go install, it didn't help.
Expected Behavior
No response
Steps To Reproduce
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: