Skip to content

Commit

Permalink
Adding BitfieldRo in BitMapCmdable interface
Browse files Browse the repository at this point in the history
  • Loading branch information
akash14darshan committed Apr 5, 2024
1 parent 683f4fa commit 0d0956d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bitmap_commands.go
Original file line number Diff line number Diff line change
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 0d0956d

Please sign in to comment.