From 497b5a6e861b5297394e8c2177dddfe81ec12e5d Mon Sep 17 00:00:00 2001 From: pigwin-3 Date: Fri, 15 Aug 2025 16:12:43 +0200 Subject: [PATCH] yep --- valki/commands.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/valki/commands.go b/valki/commands.go index fe1c6ed..016a4ae 100644 --- a/valki/commands.go +++ b/valki/commands.go @@ -16,6 +16,8 @@ func SetValkeyValue(ctx context.Context, client valkey.Client, key, value string return nil } + + func GetValkeyValue(ctx context.Context, client valkey.Client, key string) (string, error) { value, err := client.Do(ctx, client.B().Get().Key(key).Build()).ToString() if err != nil {