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

Method Name

cmp/path.go:311–311  ·  view source on GitHub ↗

Name is the name of the [Transformer].

()

Source from the content-addressed store, hash-verified

309
310// Name is the name of the [Transformer].
311func (tf Transform) Name() string { return tf.trans.name }
312
313// Func is the function pointer to the transformer function.
314func (tf Transform) Func() reflect.Value { return tf.trans.fnc }

Callers 11

CanFormatDiffSliceMethod · 0.45
TestDiffFunction · 0.45
applyMethod · 0.45
PushStepMethod · 0.45
FormatTypeMethod · 0.45
FormatValueMethod · 0.45
newIfaceFilterFunction · 0.45
filterMethod · 0.45
matchPrefixMethod · 0.45
NameOfFunction · 0.45
appendTypeNameFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestDiffFunction · 0.36