Update templatefunc.go
This commit is contained in:
parent
7655b3faa9
commit
3985ce8159
@ -636,7 +636,7 @@ func eq(arg1 interface{}, arg2 ...interface{}) (bool, error) {
|
||||
case uintKind:
|
||||
truth = v1.Uint() == v2.Uint()
|
||||
default:
|
||||
return false, errBadComparisonType
|
||||
panic("invalid kind")
|
||||
}
|
||||
if truth {
|
||||
return true, nil
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user