1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-23 13:52:26 +08:00

Merge branch 'main' into v2

This commit is contained in:
dudaodong
2023-11-16 15:28:34 +08:00

View File

@@ -70,7 +70,7 @@ func compareRefValue(operator string, leftObj, rightObj any, kind reflect.Kind)
switch operator { switch operator {
case equal: case equal:
if bytes.Compare(bytesObj1, bytesObj2) == 0 { if bytes.Equal(bytesObj1, bytesObj2) {
return true return true
} }
case lessThan: case lessThan: