func golang.org/x/mod/modfile.ModulePath

4 uses

	golang.org/x/mod/modfile (current package)
		read.go#L924: func ModulePath(mod []byte) string {

	golang.org/x/pkgsite/internal/fetch
		fetch.go#L278: 	goModPath := modfile.ModulePath(goModBytes)
		fetchlocal.go#L90: 		fr.GoModPath = modfile.ModulePath(goModBytes)

	golang.org/x/pkgsite/internal/proxy
		test_helper.go#L99: 			m.ModulePath = modfile.ModulePath(f.Data)