Skip to content

Commit

Permalink
mlr reorder with regex support [WIP] (#1473)
Browse files Browse the repository at this point in the history
* mlr reorder with regex support for field-name selection

* neaten

* -r -b/-a; unit-test cases
  • Loading branch information
johnkerl authored Jan 21, 2024
1 parent ac65675 commit 81d1136
Show file tree
Hide file tree
Showing 15 changed files with 257 additions and 133 deletions.
6 changes: 6 additions & 0 deletions pkg/transformers/aaa_record_transformer.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ type RecordTransformerFunc func(
outputDownstreamDoneChannel chan<- bool,
)

// Used within some verbs
type RecordTransformerHelperFunc func(
inrecAndContext *types.RecordAndContext,
outputRecordsAndContexts *list.List, // list of *types.RecordAndContext
)

type TransformerUsageFunc func(
ostream *os.File,
)
Expand Down
Loading

0 comments on commit 81d1136

Please sign in to comment.