Skip to content

allow []array on bitField #2647

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

Closed
wzlove opened this issue Jul 14, 2023 · 0 comments
Closed

allow []array on bitField #2647

wzlove opened this issue Jul 14, 2023 · 0 comments

Comments

@wzlove
Copy link
Contributor

wzlove commented Jul 14, 2023

When I use bitfield to operate data , I can only indicate each one. It's very not easy to use. So I quote 'appendArgs' to transform.

before
client.BitField(ctx, "mykey", "INCRBY", "i5", 100, 1, "GET", "u4", 0)

after
client.BitField(ctx, "mykey", []interface{}{"INCRBY", "i5", 100, 1, "GET", "u4", 0})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant