github.com/google/go-cmp/cmp.valueNode.Type (field)
12 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L115: parentKind = v.parent.Type.Kind()
report_compare.go#L151: return opts.WithTypeMode(emitType).FormatType(v.Type, list)
report_compare.go#L172: return opts.FormatType(v.Type, out)
report_compare.go#L174: switch k := v.Type.Kind(); k {
report_compare.go#L177: out = opts.FormatType(v.Type, out)
report_compare.go#L185: out = opts.FormatType(v.Type, out)
report_slices.go#L29: case v.Type.Kind() == reflect.Slice && (v.ValueX.Len() == 0 || v.ValueY.Len() == 0):
report_slices.go#L37: case v.NumCompared == 1 && v.Type.Name() != "":
report_slices.go#L48: switch t := v.Type; t.Kind() {
report_slices.go#L79: t, vx, vy := v.Type, v.ValueX, v.ValueY
report_value.go#L15: Type reflect.Type
report_value.go#L55: child = &valueNode{parent: parent, Type: ps.Type(), ValueX: vx, ValueY: vy}
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |