We want an interface that can implement net.Conn so we need to add these methods But we do not expect them to be called during our tests
| 20 | // We want an interface that can implement net.Conn so we need to add these methods |
| 21 | // But we do not expect them to be called during our tests |
| 22 | type NetConnWrapper struct { |
| 23 | io.ReadWriteCloser |
| 24 | } |
| 25 | |
| 26 | func (r *NetConnWrapper) LocalAddr() net.Addr { |
| 27 | return nil |
nothing calls this directly
no outgoing calls
no test coverage detected