I'm trying to vendor my go-modules and am using go 1.11.5. However, when i run go mod vendor
, it appears that under the hood go mod tidy
is being called first. This updates my go libraries. Unfortunately, I am dependent on an older version of a certain library.
Is there any way I can vendor based on go.sum instead?
Any help much appreciated!