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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user