| 11 | } |
| 12 | |
| 13 | type RegexpWriter struct { |
| 14 | out io.Writer |
| 15 | re regexp.Regexp |
| 16 | repl string |
| 17 | buf []byte |
| 18 | } |
| 19 | |
| 20 | func (s *RegexpWriter) Write(data []byte) (int, error) { |
| 21 | if len(data) == 0 { |
nothing calls this directly
no outgoing calls
no test coverage detected