Created
July 28, 2025 18:29
-
-
Save SgtPooki/de2ceae1d3b6206abb5f0f3b80db3f34 to your computer and use it in GitHub Desktop.
golang helpers
This file contains hidden or 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
# When consuming changes that are currently in PR for a dependency, run the following: | |
PKG=ipfs/go-log/v2 | |
COMMIT=174cfdbd11a553230949ce958e66a90f07772ab6 | |
go get github.com/$PKG@$COMMIT && go mod tidy | |
# IF there are multiple go.mod files to update, like in ipfs/kubo for instance, use the following | |
PKG=ipfs/go-log/v2 | |
COMMIT=174cfdbd11a553230949ce958e66a90f07772ab6 | |
go get github.com/$PKG@$COMMIT && find . -name go.mod -execdir go mod tidy \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment