Created
December 23, 2022 13:20
-
-
Save adrianriobo/399179ae9a702f3351c98d3208872212 to your computer and use it in GitHub Desktop.
Go cheatsheet
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
To get the v for a module from a different repo on a specific commit: | |
go get github.com/adrianriobo/pulumi-command@4007017bb359927f8474c223a753d6f2d4be79e2 | |
This will add the required dependency on go.mod: | |
require ( | |
github.com/adrianriobo/pulumi-command v0.0.0-20221223131545-4007017bb359 // indirect | |
... | |
) | |
Then use replace with the value: | |
replace github.com/pulumi/pulumi-command/sdk => github.com/adrianriobo/pulumi-command/sdk v0.0.0-20221223113640-4d64615aff90 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment