MCPcopy Create free account
hub / github.com/google/go-cmp / String

Method String

cmp/path.go:273–273  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

271func (mi MapIndex) Type() reflect.Type { return mi.typ }
272func (mi MapIndex) Values() (vx, vy reflect.Value) { return mi.vx, mi.vy }
273func (mi MapIndex) String() string { return fmt.Sprintf("[%#v]", mi.key) }
274
275// Key is the value of the map key.
276func (mi MapIndex) Key() reflect.Value { return mi.key }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected