Added a join lines with space
Some checks failed
Build / build (push) Successful in 45s
Release Build / build (push) Failing after 1m28s

This commit is contained in:
exe.dev user 2026-04-19 22:49:43 +00:00
parent aa680eea69
commit 61dae0ac2d

View file

@ -75,6 +75,12 @@ var TextFilters = map[string]TextProcessor{
return TextFilterResponse{Output: strings.Replace(input, "\n", ",", -1)}, nil return TextFilterResponse{Output: strings.Replace(input, "\n", ",", -1)}, nil
}, },
}, },
"join-lines-with-spaces": {
Label: "Lines: Join with Spaces",
Filter: func(ctx context.Context, input string) (resp TextFilterResponse, err error) {
return TextFilterResponse{Output: strings.Replace(input, "\n", " ", -1)}, nil
},
},
"split-lines-on-commas": { "split-lines-on-commas": {
Label: "Lines: Split on Commas", Label: "Lines: Split on Commas",
Filter: func(ctx context.Context, input string) (resp TextFilterResponse, err error) { Filter: func(ctx context.Context, input string) (resp TextFilterResponse, err error) {