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
Execute go get github.com/labstack/echo@6d227dfea4d2e52cb76856120b3c17f758139b4e
Execute go mod edit -require github.com/labstack/echo@6d227dfea4d2e52cb76856120b3c17f758139b4e
Execute go mod tidy
What did you expect to see?
As described in https://tip.golang.org/cmd/go/#hdr-Pseudo_versions: Pseudo-versions never need to be typed by hand: the go command will accept the plain commit hash and translate it into a pseudo-version (or a tagged version if available) automatically. This conversion is an example of a module query.
After step 3, in $GOPATH/pkg/mod/github.com/labstack/ directory, I expect to see the subdirectory of echo package with pseudo-version pointed to specified commit 6d227dfea4d2e52cb76856120b3c17f758139b4e
After step 5 I expect to thew record pointed to echo package with commit 6d227dfea4d2e52cb76856120b3c17f758139b4e
What did you see instead?
In project's go.mod file and in $GOPATH/pkg/mod/github.com/labstack/ directory always present only echo@v3.2.2-0.20180412143600-6d227dfea4d2+incompatible version.
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
)?What did you do?
go mod init
go get github.com/labstack/echo@6d227dfea4d2e52cb76856120b3c17f758139b4e
go mod edit -require github.com/labstack/echo@6d227dfea4d2e52cb76856120b3c17f758139b4e
go mod tidy
What did you expect to see?
As described in https://tip.golang.org/cmd/go/#hdr-Pseudo_versions:
Pseudo-versions never need to be typed by hand: the go command will accept the plain commit hash and translate it into a pseudo-version (or a tagged version if available) automatically. This conversion is an example of a module query.
$GOPATH/pkg/mod/github.com/labstack/
directory, I expect to see the subdirectory ofecho
package with pseudo-version pointed to specified commit6d227dfea4d2e52cb76856120b3c17f758139b4e
echo
package with commit6d227dfea4d2e52cb76856120b3c17f758139b4e
What did you see instead?
In project's
go.mod
file and in$GOPATH/pkg/mod/github.com/labstack/
directory always present onlyecho@v3.2.2-0.20180412143600-6d227dfea4d2+incompatible
version.The text was updated successfully, but these errors were encountered: