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