type github.com/google/go-cmp/cmp.TypeAssertion
7 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L577: s.compareAny(TypeAssertion{&typeAssertion{pathStep{vx.Type(), vx, vy}}})
path.go#L61: _ PathStep = TypeAssertion{}
path.go#L280: type TypeAssertion struct{ *typeAssertion }
path.go#L285: func (ta TypeAssertion) Type() reflect.Type { return ta.typ }
path.go#L286: func (ta TypeAssertion) Values() (vx, vy reflect.Value) { return ta.vx, ta.vy }
path.go#L287: func (ta TypeAssertion) String() string { return fmt.Sprintf(".(%v)", value.TypeString(ta.typ, false)) }
report_value.go#L69: case TypeAssertion:
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)