Skip to content

allow []array on bitField #2647

@wzlove

Description

@wzlove

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})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions