type github.com/google/go-cmp/cmp.MapIndex
9 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L538: step := MapIndex{&mapIndex{pathStep: pathStep{typ: t.Elem()}}}
path.go#L59: _ PathStep = MapIndex{}
path.go#L254: type MapIndex struct{ *mapIndex }
path.go#L260: func (mi MapIndex) Type() reflect.Type { return mi.typ }
path.go#L261: func (mi MapIndex) Values() (vx, vy reflect.Value) { return mi.vx, mi.vy }
path.go#L262: func (mi MapIndex) String() string { return fmt.Sprintf("[%#v]", mi.key) }
path.go#L265: func (mi MapIndex) Key() reflect.Value { return mi.key }
report_value.go#L63: case MapIndex:
github.com/google/go-cmp/cmp/cmpopts
ignore.go#L189: mi, ok := p.Index(-1).(cmp.MapIndex)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |