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

Method Type

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

Type is the resulting type after performing the path step.

()

Source from the content-addressed store, hash-verified

41
42 // Type is the resulting type after performing the path step.
43 Type() reflect.Type
44
45 // Values is the resulting values after performing the path step.
46 // The type of each valid value is guaranteed to be identical to Type.

Callers 15

CanFormatDiffSliceMethod · 0.65
FormatDiffSliceMethod · 0.65
rootStepFunction · 0.65
compareAnyMethod · 0.65
compareInterfaceMethod · 0.65
CheckMethod · 0.65
makeAddressableFunction · 0.65
comparerTestsFunction · 0.65
methodTestsFunction · 0.65
BenchmarkBytesFunction · 0.65
FilterValuesFunction · 0.65
applyMethod · 0.65

Implementers 7

pathStepcmp/path.go
StructFieldcmp/path.go
SliceIndexcmp/path.go
MapIndexcmp/path.go
Indirectcmp/path.go
TypeAssertioncmp/path.go
Transformcmp/path.go

Calls

no outgoing calls

Tested by 5

comparerTestsFunction · 0.52
methodTestsFunction · 0.52
BenchmarkBytesFunction · 0.52
ExampleOption_equalEmptyFunction · 0.52
TestPanicFunction · 0.52