From 3aba023c66d76d9cf5c48125790273f9a85195fa Mon Sep 17 00:00:00 2001 From: Akash Darshan Date: Fri, 5 Apr 2024 16:08:41 +0530 Subject: [PATCH] Adding BitfieldRo in BitMapCmdable interface --- bitmap_commands.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bitmap_commands.go b/bitmap_commands.go index d9fc50dce..74fd2cd41 100644 --- a/bitmap_commands.go +++ b/bitmap_commands.go @@ -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 {