Switch from redis keys to scan for GetKeys driver + tests and fixes

This commit is contained in:
ionutboangiu
2022-07-19 17:34:24 +03:00
committed by Dan Christian Bogos
parent d847ec5d98
commit 6bcb9b0008
15 changed files with 255 additions and 77 deletions

View File

@@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
package utils
import (
"fmt"
"math/cmplx"
"reflect"
"testing"
@@ -236,6 +235,6 @@ func TestContentStructFieldByIndexIsEmpty(t *testing.T) {
},
}
if fieldByIndexIsEmpty(reflect.ValueOf(myStruct), []int{1, 0}) {
fmt.Printf("%v", myStruct)
t.Errorf("%v", myStruct)
}
}