Open StephanSchmidt opened 1 year ago
When I do this
... | money("$") | ....
I get
pipe command \"money(\\"$\\")\" type string is not func
with
.AddGlobalFunc("money", func(a jet.Arguments) reflect.Value { a.RequireNumOfArguments("money", 1, 2)
Is there an example on how to do this?
The builtin "repeat(2)" is doing this for example.
When I do this
... | money("$") | ....
I get
pipe command \"money(\\"$\\")\" type string is not func
with
.AddGlobalFunc("money", func(a jet.Arguments) reflect.Value { a.RequireNumOfArguments("money", 1, 2)
Is there an example on how to do this?
The builtin "repeat(2)" is doing this for example.