-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add go gest #2126
feat: add go gest #2126
Conversation
tests/integration/set_test.go
Outdated
@@ -381,5 +381,22 @@ var _ = Describe("List Commands", func() { | |||
Expect(sMembers.Err()).NotTo(HaveOccurred()) | |||
Expect(sMembers.Val()).To(HaveLen(5)) | |||
}) | |||
|
|||
It("should SADDNX", func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没有提供接口的命令,使用client.Do()来测试
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
hSet := client.HSet(ctx, "hash", "key1", "hello1") | ||
Expect(hSet.Err()).NotTo(HaveOccurred()) | ||
|
||
hGet := client.HGet(ctx, "hash", "key1") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hLen := client.Do(ctx, "hstrlen", "hash", "key1")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Co-authored-by: wuxianrong <[email protected]>
Co-authored-by: wuxianrong <[email protected]>
No description provided.