I have to run my old project file. my go version is 1.10.4 & trying to load dep dependency. i am having error in “go get GitHub - golang/dep: Go dependency management tool experiment (deprecated) && go install github.com/golang/dep/cmd/dep” script. The output is given below
The criteria is we couldn’t upgrade go version. Help me to get solution of this problem. so, i could solve my error.
It seems that you have a mix of two Go versions installed—see this comment.
i have tried your solution as well, but still having same issue… compile: version “go1.15.7” does not match go tool version “go1.10.4”
does it mean i have to switch to go1.15.7 , i am afraid my project code will not run because it has been written 4 years ago. provide me some appropriate solution to get deb package…
Chances are that your code compiles fine with the latest version of Go, thanks to the Go compatibility promise (with rare exceptions).
It is possible to install multiple Go versions side-by-side, so you could try compiling your project with the latest Go version, or you can check out your project to a dev container (for example, with Gitpod.io) that has the latest Go toolchain pre-installed.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.