github.com/google/go-cmp/cmp.sliceIndex.xkey (field)

11 uses

	github.com/google/go-cmp/cmp (current package)
		compare.go#L455: 			step.vx, step.xkey = vx.Index(ix), ix
		compare.go#L457: 			step.vx, step.xkey = reflect.Value{}, -1
		path.go#L212: 	xkey, ykey int
		path.go#L220: 	case si.xkey == si.ykey:
		path.go#L221: 		return fmt.Sprintf("[%d]", si.xkey)
		path.go#L224: 		return fmt.Sprintf("[%d->?]", si.xkey)
		path.go#L225: 	case si.xkey == -1:
		path.go#L230: 		return fmt.Sprintf("[%d->%d]", si.xkey, si.ykey)
		path.go#L236: 	if si.xkey != si.ykey {
		path.go#L239: 	return si.xkey
		path.go#L251: func (si SliceIndex) SplitKeys() (ix, iy int) { return si.xkey, si.ykey }