jet icon indicating copy to clipboard operation
jet copied to clipboard

Convert default funcs into jet.Funcs

Open annismckenzie opened this issue 8 years ago • 0 comments

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.Funcs.

annismckenzie avatar Aug 26 '16 12:08 annismckenzie