MCPcopy Create free account
hub / github.com/creasty/defaults / methodPinger

Interface methodPinger

method_test.go:48–48  ·  view source on GitHub ↗

methodPinger is embedded as an interface, so the method is promoted from a field that holds it.

Source from the content-addressed store, hash-verified

46
47// methodPinger is embedded as an interface, so the method is promoted from a field that holds it.
48type methodPinger interface{ Ping() }
49
50type methodEmbedsInterface struct{ methodPinger }
51

Callers 1

PingMethod · 0.65

Implementers 3

methodValuemethod_test.go
methodPointermethod_test.go
methodShadowsmethod_test.go

Calls

no outgoing calls

Tested by

no test coverage detected