ChangeFormatterData allows manipulating the data passed to an output format.
(format OutputFormat, change func(data any) (any, error))
| 220 | // ChangeFormatterData allows manipulating the data passed to an output |
| 221 | // format. |
| 222 | func ChangeFormatterData(format OutputFormat, change func(data any) (any, error)) *DataChangeFormat { |
| 223 | return &DataChangeFormat{format: format, change: change} |
| 224 | } |
| 225 | |
| 226 | func (d *DataChangeFormat) ID() string { |
| 227 | return d.format.ID() |
no outgoing calls
no test coverage detected