MappedStringReader reads strings from a StringReader and call a map function that transforms the strings in some other string.
| 102 | // MappedStringReader reads strings from a StringReader and call a map function |
| 103 | // that transforms the strings in some other string. |
| 104 | type MappedStringReader struct { |
| 105 | r StringReader |
| 106 | mapFn func(string) string |
| 107 | } |
| 108 | |
| 109 | // NewMappedStringReader creates a new MappedStringReader that reads strings from |
| 110 | // r and can call mapFn for transforming the string before returning it. |
nothing calls this directly
no outgoing calls
no test coverage detected