MCPcopy Create free account
hub / github.com/expr-lang/expr / String

Method String

internal/spew/common_test.go:32–34  ·  view source on GitHub ↗

String implements the Stringer interface for testing invocation of custom stringers on types with non-pointer receivers.

()

Source from the content-addressed store, hash-verified

30// String implements the Stringer interface for testing invocation of custom
31// stringers on types with non-pointer receivers.
32func (s stringer) String() string {
33 return "stringer " + string(s)
34}
35
36// custom type to test Stinger interface on pointer receiver.
37type pstringer string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected