You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use go mod edit -require=github.com/gin-gonic/gin@v1.2 to upgrade gin version from v1.1.4 to v1.2. When I run code , I get some error.
What did you see instead?
There is a error likeinvalid module version "v1.2": no matching versions for query "v1.2" .
I checked there is a gin released version with tag v1.2. I guess in mod version query it converted v1.2 to v1.2.0.
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I use go mod
What did you expect to see?
I use
go mod edit -require=github.com/gin-gonic/gin@v1.2
to upgrade gin version from v1.1.4 to v1.2. When I run code , I get some error.What did you see instead?
There is a error like
invalid module version "v1.2": no matching versions for query "v1.2"
.I checked there is a gin released version with tag v1.2. I guess in mod version query it converted
v1.2
tov1.2.0
.The text was updated successfully, but these errors were encountered: