-
Notifications
You must be signed in to change notification settings - Fork 68
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
Go: Add command ZScan #2950
Go: Add command ZScan #2950
Conversation
8d058cc
to
38d5844
Compare
if err != nil { | ||
return CreateNilStringResult(), nil, err | ||
} | ||
return handleScanResponse(result) |
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.
Could you update please handleScanResponse
to return (string, []string, error)
? Those strings are never nil
.
You can do it in another PR
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.
I think I will do this in a separate PR for existing scan commands. Although when I was looking at the java code, the zscan API does also use the hanldeArrayOrNullResponse
function when it takes binary inputs, is that a known behavior?
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.
Could be a mistake. Feel free to fix that!
38d5844
to
736a69f
Compare
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.
CI is red
Signed-off-by: TJ Zhang <tj.zhang@improving.com>
dad270a
to
3733698
Compare
Issue link
This Pull Request is linked to issue (URL): #2878
Checklist
Before submitting the PR make sure the following are checked: