github.com/google/go-cmp/cmp.textWrap.Suffix (field)
23 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L171: out = &textWrap{Prefix: "Inverse(" + v.TransformerName + ", ", Value: out, Suffix: ")"}
report_compare.go#L273: return &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_compare.go#L403: return &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_references.go#L102: out := &textWrap{Prefix: "(", Value: textEllipsis, Suffix: ")"}
report_reflect.go#L92: hasParens := strings.HasPrefix(s2.Prefix, "(") && strings.HasSuffix(s2.Suffix, ")")
report_reflect.go#L93: hasBraces := strings.HasPrefix(s2.Prefix, "{") && strings.HasSuffix(s2.Suffix, "}")
report_reflect.go#L99: refNode.Value = &textWrap{Prefix: "(", Value: refNode.Value, Suffix: ")"}
report_reflect.go#L102: return &textWrap{Prefix: "(", Value: s, Suffix: ")"}
report_reflect.go#L201: return &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_reflect.go#L234: out = &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_reflect.go#L268: out = &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_reflect.go#L335: return &textWrap{Prefix: "(", Value: list, Suffix: ")"}
report_slices.go#L197: var out textNode = &textWrap{Prefix: "(", Value: list2, Suffix: ")"}
report_slices.go#L284: var out textNode = &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_slices.go#L295: out = &textWrap{Prefix: "strings.Join(", Value: out, Suffix: fmt.Sprintf(", %q)", delim)}
report_slices.go#L300: out = &textWrap{Prefix: "bytes.Join(", Value: out, Suffix: fmt.Sprintf(", %q)", delim)}
report_text.go#L99: Suffix string // e.g., "}"
report_text.go#L104: return len(s.Prefix) + s.Value.Len() + len(s.Suffix)
report_text.go#L108: return s1.Prefix == s2.Prefix && s1.Value.Equal(s2.Value) && s1.Suffix == s2.Suffix
report_text.go#L125: b = append(b, s.Suffix...)
report_text.go#L134: b = append(b, s.Suffix...)
report_text.go#L199: return (&textWrap{Prefix: "{", Value: s, Suffix: "}"}).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. |