From 90c7a414ac819ab9e15cc01cd0bfa6f357236585 Mon Sep 17 00:00:00 2001 From: Akash Darshan Date: Sun, 21 Apr 2024 22:52:00 +0530 Subject: [PATCH] Adding BitfieldRo in BitMapCmdable interface (#2962) Co-authored-by: Monkey --- bitmap_commands.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bitmap_commands.go b/bitmap_commands.go index 9cd80899..a2155828 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 {