From 097d0ce0a6fa7ae0a342785f204639ef250a624a Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Mon, 20 Jan 2025 09:34:09 -0800 Subject: [PATCH] fixes Signed-off-by: Yury-Fridlyand --- go/api/base_client.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/go/api/base_client.go b/go/api/base_client.go index f0c64979d2..8803702c7b 100644 --- a/go/api/base_client.go +++ b/go/api/base_client.go @@ -2072,7 +2072,10 @@ func (client *baseClient) XGroupCreateWithOptions( // // Example: // -// client.XGroupDestroy("mystream", "mygroup") +// ok, err := client.XGroupDestroy("mystream", "mygroup") +// if !ok || err != nil { +// // handle errors +// } // // [valkey.io]: https://valkey.io/commands/xgroup-destroy/ func (client *baseClient) XGroupDestroy(key string, group string) (bool, error) {