methodPointer declares it on a pointer receiver, so only a pointer to it has the method.
| 22 | |
| 23 | // methodPointer declares it on a pointer receiver, so only a pointer to it has the method. |
| 24 | type methodPointer struct{} |
| 25 | |
| 26 | func (*methodPointer) Ping() {} |
| 27 |
nothing calls this directly
no outgoing calls
no test coverage detected