So I have the following equality test in a go template
{{if eq .user.Role "Manager" "Admin"}}
which should work according to the docs and the 1.2 release notes, but I'm not having any luck
To make it more clear .user.Role "Manager" would work, or any equality test that involves only one argument. So something like
{{if eq 1 1}}
evaluates correctly, but {{if eq 1 2 1}}
does not.
Error I get is 3: executing ".../index.html" at : wrong number of args for eq: want 2 got 3