Skip to content

Commit

Permalink
Adding BitfieldRo in BitMapCmdable interface (#2962)
Browse files Browse the repository at this point in the history
Co-authored-by: Monkey <golang@88.com>
  • Loading branch information
akash14darshan and monkey92t committed Apr 21, 2024
1 parent 9f1522a commit 90c7a41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bitmap_commands.go
Expand Up @@ -16,6 +16,7 @@ type BitMapCmdable interface {
BitPos(ctx context.Context, key string, bit int64, pos ...int64) *IntCmd
BitPosSpan(ctx context.Context, key string, bit int8, start, end int64, span string) *IntCmd
BitField(ctx context.Context, key string, values ...interface{}) *IntSliceCmd
BitFieldRO(ctx context.Context, key string, values ...interface{}) *IntSliceCmd
}

func (c cmdable) GetBit(ctx context.Context, key string, offset int64) *IntCmd {
Expand Down

0 comments on commit 90c7a41

Please sign in to comment.