Created
January 13, 2022 15:55
-
-
Save pocoz/64b947a83469a7a37952141ba4234b97 to your computer and use it in GitHub Desktop.
update modules to latest version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just 'go get' at the commit hash you want: | |
go get github.com/someone/some_module@af044c0995fe | |
'go get' will correctly update the dependency files (go.mod, go.sum). | |
More information: https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment