-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add: Support for COMMAND LIST command #2491
Conversation
@monkey92t @chayim Can you please review this? |
Maybe we can use the shortcut API CommandList(ctx) []string |
Hmm, We can do that as well |
It seems better to use pointers: CommandList(ctx context.Context, opt *FilterBy) *StringSliceCmd
client.CommandList(ctx, &redis.FilterBy{...})
client.CommandList(ctx, nil) OR CommandList(ctx context.Context, opt FilterBy) *StringSliceCmd
client.CommandList(ctx, redis.FilterBy{...})
client.CommandList(ctx, redis.FilterBy{}) |
I vote for the pointer... |
Overall it looks good~ |
:) |
Thanks @monkey92t |
Fixes #2389