Open
Description
go mod verify
is extremely useful for validating the integrity of modules in the local cache.
It would be great if projects that choose to vendor their modules (then presumably building with go build -mod vendor ...
) had a similar command to verify the integrity of modules in that directory.
This would satisfy a major requirement that many projects need to account for in their CI process-- ensuring that vendored code hasn't been tampered with.