I want to call a FuncMap in a template together with an if, something like:
{{if lt myFunc .templateVariable condition}} <span class="foo"> {{.templateVar}}</span> {{else}} {{.templateVar}} {{end}}
Looking at the docs it shows this only:
{{if eq .A 1 2 3 }} equal {{else}} not equal {{end}}
Is this possible in Go?