realInjector keeps injection state
| 38 | |
| 39 | // realInjector keeps injection state |
| 40 | type realInjector struct { |
| 41 | // Has the marker been found? |
| 42 | found bool |
| 43 | conf *CopyInject |
| 44 | src io.Reader |
| 45 | offset int |
| 46 | sniffedData []byte |
| 47 | } |
| 48 | |
| 49 | type nopInjector struct { |
| 50 | src io.Reader |
nothing calls this directly
no outgoing calls
no test coverage detected