func github.com/google/go-cmp/cmp.formatString
5 uses
github.com/google/go-cmp/cmp (current package)
report_reflect.go#L340: return textLine(prefix + formatString(s[:maxLen]) + string(textEllipsis))
report_reflect.go#L342: return textLine(prefix + formatString(s))
report_reflect.go#L359: func formatString(s string) string {
report_slices.go#L130: s := formatString(v.Index(0).String())
report_slices.go#L219: s := formatString(v.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. |