go mod edit -replace github.com/repo=github.com/repo@commit-hash
go mod tidy
go mod vendor
Last active
November 18, 2024 14:40
-
-
Save Aurora12/44f1cbf7f5ad267602963599e14f6c47 to your computer and use it in GitHub Desktop.
Go mod replace package version with a commit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment