go/src/cmd/go/internal/modload/vendor.go

var vendorOnce

var vendorList

var vendorReplaced

var vendorVersion

var vendorPkgModule

var vendorMeta

type vendorMetadata

// readVendorList reads the list of vendored modules from vendor/modules.txt.
func readVendorList(vendorDir string) {}

// checkVendorConsistency verifies that the vendor/modules.txt file matches (if
// go 1.14) or at least does not contradict (go 1.13 or earlier) the
// requirements and replacements listed in the main module's go.mod file.
func checkVendorConsistency(indexes []*modFileIndex, modFiles []*modfile.File, modRoots []string) {}