type github.com/google/go-cmp/cmp.commentString
4 uses
github.com/google/go-cmp/cmp (current package)
report_reflect.go#L328: comment := commentString(fmt.Sprintf("%d elided lines", numElided))
report_slices.go#L237: comment := commentString(fmt.Sprintf("%c|%v|", d, formatASCII(v.String())))
report_text.go#L429: type commentString string
report_text.go#L431: func (s commentString) String() string { return string(s) }
![]() |
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. |