MCPcopy
hub / github.com/google/go-cmp / newStringer

Function newStringer

cmp/compare_test.go:112–112  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

110type Stringer string
111
112func newStringer(s string) fmt.Stringer { return (*Stringer)(&s) }
113func (s Stringer) String() string { return string(s) }
114
115type test struct {

Callers 1

reporterTestsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…