MCPcopy
hub / github.com/google/go-cmp / MapIndex

Struct MapIndex

cmp/path.go:265–265  ·  cmp/path.go::MapIndex

MapIndex is a [PathStep] that represents an index operation on a map at some index Key.

Source from the content-addressed store, hash-verified

263
264// MapIndex is a [PathStep] that represents an index operation on a map at some index Key.
265type MapIndex struct{ *mapIndex }
266type mapIndex struct {
267 pathStep
268 key reflect.Value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected