Iss 100: Implement interfaces and constants for generic API methods (#127)

SETOptions struct added. Adjusted Set method calls for using new struct. - @osteensco
This commit is contained in:
osteensco
2024-09-20 10:53:39 -05:00
committed by GitHub
parent cc086a9504
commit 016bd2d2bd
14 changed files with 7077 additions and 1881 deletions

View File

@@ -2662,7 +2662,7 @@ func Test_Generic(t *testing.T) {
_, _, _ = mockServer.Set(
fmt.Sprintf("key%d", k),
fmt.Sprintf("value%d", k),
echovault.SetOptions{},
echovault.SETOptions{},
)
}
}
@@ -2768,7 +2768,7 @@ func Test_Generic(t *testing.T) {
_, _, err := mockServer.Set(
fmt.Sprintf("RandomKey%d", i),
fmt.Sprintf("Value%d", i),
echovault.SetOptions{},
echovault.SETOptions{},
)
if err != nil {
t.Error(err)