go-sprout / sprout

From sprig to sprout - Useful template functions for Go templates with steroids
https://sprout.atom.codes
MIT License
86 stars 4 forks source link

misc: FuncMap ambiguity #40

Closed andig closed 2 months ago

andig commented 2 months ago

Please exprime yourself

FuncMap comment says:

FuncMap returns a template.FuncMap for use with text/template or html/template. It provides backward compatibility with sprig.FuncMap and integrates additional configured functions. FOR BACKWARD COMPATIBILITY ONLY

TxtFuncMap does not have the FOR BACKWARD COMPATIBILITY ONLY in the comment. I'm uncertain, which funcmap contains which functions in comparison to sprig.

Code of Conduct