jet
jet copied to clipboard
Convert default funcs into jet.Funcs
This is specifically targeted towards the strings.Replace
default func that takes an integer as the last argument to indicate the maximum number of replacements that should happen. For one, this looks weird in a template and we can also default this to -1 to indicate an unlimited number of replacements. This is easily done using jet.Func
s.