This commit is contained in:
2023-07-30 01:14:05 +02:00
parent 83346521bc
commit 975436615d

View File

@@ -54,6 +54,7 @@ func getkeyCache(getKey func(any) (any, ArErr), key any) (any, ArErr) {
if err.EXISTS { if err.EXISTS {
return nil, err return nil, err
} }
fmt.Println(key, val)
return val, ArErr{} return val, ArErr{}
} }
@@ -76,6 +77,5 @@ func compare(a, b any) (bool, error) {
return y < x, nil return y < x, nil
} }
} }
fmt.Println(a, b)
return false, fmt.Errorf("cannot compare %s to %s", typeof(a), typeof(b)) return false, fmt.Errorf("cannot compare %s to %s", typeof(a), typeof(b))
} }