I am using go version 1.13.1
, and now I cannot update my dependecy module to the latest minor version using go mod
, I made simple repo for learning dependency management on github.com/clavinjune/testng
and made a project that depends on it called moduser
.
The latest minor version of testng
is v1.4.0
┌─[ ~/Public/testng ]─[ git:master ]
└─[ 22:09:19 ] $ git tag -l
v1.0.0
v1.1.0
v1.2.0
v1.3.0
v1.4.0
and moduser
still using v1.3.0
┌─[ ~/Public/moduser ]
└─[ 22:09:06 ] $ go list -m all
moduser
github.com/clavinjune/testng v1.3.0
when I want to update the dependency I run this command
┌─[ ~/Public/moduser ]
└─[ 22:20:17 ] $ go get -v -u github.com/clavinjune/testng
┌─[ ~/Public/moduser ]
└─[ 22:20:28 ] $ go get -v -u github.com/clavinjune/testng@latest
But it doesn't downloading the v1.4.0
.
Is there any wrong command that I run ?
v1.4.0
to GitHub, or did you merely create it in your own local repository? (Note thatgo list -m all
does not showv1.4.0
available!) – Bangs