Home
last modified time | relevance | path

Searched refs:useStringer (Results 1 – 1 of 1) sorted by relevance

/external/syzkaller/vendor/github.com/google/go-cmp/cmp/internal/value/
Dformat.go29 func Format(v reflect.Value, useStringer bool) string {
30 return formatAny(v, formatConfig{useStringer, true, true, !formatFakePointers}, nil)
34 useStringer bool // Should the String method be used if available? member
46 if conf.useStringer && v.Type().Implements(stringerIface) && v.CanInterface() {
152 subConf.useStringer = conf.useStringer && isExported(name)