On Fri, Jul 1, 2016 at 4:13 PM, mhhcbon wrote:

> I honestly admit i have no real understanding of what i m doing ...
>


> I can only figure out it works on the other end :o
>
> But its way more readable, to me, src -> transform -> transform -> sink
>

Then maybe check this one out?

https://godoc.org/github.com/go-shaper/shaper#example-package--Output

You can do

shaper.NewFilter().ApplyToUpper().ApplyToLower().ApplyReplace("test",
"biscuit", -1).ApplyRegexpReplaceAll("(?i)ht(ml)", "X$1").ApplyTrim()...

and on and on, and you can build you own transform on top of that as well.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to