type github.com/google/go-cmp/cmp.SliceIndex
11 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L249: if si, ok := step.(SliceIndex); ok && si.isSlice && vx.IsValid() && vy.IsValid() {
compare.go#L437: step := SliceIndex{&sliceIndex{pathStep: pathStep{typ: t.Elem()}, isSlice: isSlice}}
compare.go#L438: withIndexes := func(ix, iy int) SliceIndex {
path.go#L58: _ PathStep = SliceIndex{}
path.go#L211: type SliceIndex struct{ *sliceIndex }
path.go#L218: func (si SliceIndex) Type() reflect.Type { return si.typ }
path.go#L219: func (si SliceIndex) Values() (vx, vy reflect.Value) { return si.vx, si.vy }
path.go#L220: func (si SliceIndex) String() string {
path.go#L237: func (si SliceIndex) Key() int {
path.go#L253: func (si SliceIndex) SplitKeys() (ix, iy int) { return si.xkey, si.ykey }
report_value.go#L60: case SliceIndex:
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)