methodShadows declares its own over the one it would take from its field, and calls through to it, as a type that means to add to an embedded method does.
| 41 | // methodShadows declares its own over the one it would take from its field, and calls through to it, |
| 42 | // as a type that means to add to an embedded method does. |
| 43 | type methodShadows struct{ methodValue } |
| 44 | |
| 45 | func (s methodShadows) Ping() { s.methodValue.Ping() } |
| 46 |
nothing calls this directly
no outgoing calls
no test coverage detected