github.com/google/go-cmp/cmp.formatOptions.FormatValue (method)
15 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L124: outx := opts.FormatValue(v.ValueX, parentKind, ptrs)
report_compare.go#L125: outy := opts.FormatValue(v.ValueY, parentKind, ptrs)
report_compare.go#L138: outx := opts.WithTypeMode(elideType).FormatValue(v.ValueX, parentKind, ptrs)
report_compare.go#L139: outy := opts.WithTypeMode(elideType).FormatValue(v.ValueY, parentKind, ptrs)
report_compare.go#L142: outx = opts2.FormatValue(v.ValueX, parentKind, ptrs)
report_compare.go#L143: outy = opts2.FormatValue(v.ValueY, parentKind, ptrs)
report_compare.go#L153: return opts.FormatValue(v.ValueX, parentKind, ptrs)
report_compare.go#L155: return opts.FormatValue(v.ValueY, parentKind, ptrs)
report_reflect.go#L107: func (opts formatOptions) FormatValue(v reflect.Value, parentKind reflect.Kind, ptrs *pointerReferences) (out textNode) {
report_reflect.go#L198: s := opts.WithTypeMode(autoType).FormatValue(vv, t.Kind(), ptrs)
report_reflect.go#L230: s := opts.WithTypeMode(elideType).FormatValue(v.Index(i), t.Kind(), ptrs)
report_reflect.go#L264: sv := opts.WithTypeMode(elideType).FormatValue(v.MapIndex(k), t.Kind(), ptrs)
report_reflect.go#L285: out = opts.FormatValue(v.Elem(), t.Kind(), ptrs)
report_reflect.go#L296: return opts.WithTypeMode(emitType).FormatValue(v.Elem(), t.Kind(), ptrs)
report_reflect.go#L354: s := opts.FormatValue(v, reflect.Map, ptrs).String()
 |
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. |