github.com/google/go-cmp/cmp.reportRecord.Value (field)
26 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L248: isZero = value.IsZero(r.Value.ValueX) || value.IsZero(r.Value.ValueY)
report_compare.go#L250: isZero = value.IsZero(r.Value.ValueX)
report_compare.go#L252: isZero = value.IsZero(r.Value.ValueY)
report_compare.go#L259: if r.Value.NumIgnored > 0 && r.Value.NumSame+r.Value.NumDiff == 0 {
report_compare.go#L266: if out := opts.FormatDiff(r.Value, ptrs); out != nil {
report_compare.go#L297: if r := recs[numLo].Value; r.NumIgnored > 0 && r.NumSame+r.NumDiff == 0 {
report_compare.go#L303: if r := recs[numEqual-numHi-1].Value; r.NumIgnored > 0 && r.NumSame+r.NumDiff == 0 {
report_compare.go#L314: out := opts.WithDiffMode(diffIdentical).FormatDiff(r.Value, ptrs)
report_compare.go#L326: out := opts.WithDiffMode(diffIdentical).FormatDiff(r.Value, ptrs)
report_compare.go#L337: case opts.CanFormatDiffSlice(r.Value):
report_compare.go#L338: out := opts.FormatDiffSlice(r.Value)
report_compare.go#L341: case r.Value.NumChildren == r.Value.MaxDepth:
report_compare.go#L342: outx := opts.WithDiffMode(diffRemoved).FormatDiff(r.Value, ptrs)
report_compare.go#L343: outy := opts.WithDiffMode(diffInserted).FormatDiff(r.Value, ptrs)
report_compare.go#L346: outx = opts2.WithDiffMode(diffRemoved).FormatDiff(r.Value, ptrs)
report_compare.go#L347: outy = opts2.WithDiffMode(diffInserted).FormatDiff(r.Value, ptrs)
report_compare.go#L358: out := opts.FormatDiff(r.Value, ptrs)
report_compare.go#L418: switch rv := r.Value; {
report_value.go#L50: Value *valueNode
report_value.go#L59: parent.Records = append(parent.Records, reportRecord{Key: reflect.ValueOf(s.Name()), Value: child})
report_value.go#L62: parent.Records = append(parent.Records, reportRecord{Value: child})
report_value.go#L65: parent.Records = append(parent.Records, reportRecord{Key: s.Key(), Value: child})
 |
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. |