Skip to content
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: ZRANDMEMBER. #2983

Merged
merged 5 commits into from
Jan 31, 2025
Merged

Go: ZRANDMEMBER. #2983

merged 5 commits into from
Jan 31, 2025

Conversation

Yury-Fridlyand
Copy link
Collaborator

Issue link

This Pull Request is linked to issue (URL): #2973

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one issue.
  • Commit message has a detailed description of what changed and why.
  • Tests are added or updated.
  • CHANGELOG.md and documentation files are updated.
  • Destination branch is correct - main or release
  • Commits will be squashed upon merging.

Signed-off-by: Yury-Fridlyand <[email protected]>
@Yury-Fridlyand Yury-Fridlyand added the go golang wrapper label Jan 21, 2025
@Yury-Fridlyand Yury-Fridlyand requested a review from a team as a code owner January 21, 2025 02:16
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
@@ -7,6 +7,7 @@ const (
MatchKeyword string = "MATCH" // Valkey API keyword used to indicate the match filter.
NoValue string = "NOVALUE" // Valkey API keyword for the no value option for hcsan command.
WithScore string = "WITHSCORE" // Valkey API keyword for the with score option for zrank and zrevrank commands.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the WITHSCORE one even an option? We tested that with some commands passing WITHSCORE in the place where the doc asks for WITHSCORES would work, but is any command explicitly asking for WITHSCORE? if not we should probably remove
cc @prateek-kumar-improving

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably we could keep it there with lowercase (aka private)

@Yury-Fridlyand Yury-Fridlyand merged commit 324f9e4 into valkey-io:main Jan 31, 2025
18 checks passed
@Yury-Fridlyand Yury-Fridlyand deleted the go/zrandmember branch January 31, 2025 18:48
adarovadya pushed a commit to adarovadya/glide-for-redis that referenced this pull request Feb 3, 2025
* Go: `ZRANDMEMBER`.

Signed-off-by: Yury-Fridlyand <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go golang wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants