From 72dc4921df0988d0b9744e5f5990845d8321e669 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Tue, 16 Nov 2021 11:57:27 +0700 Subject: [PATCH] docs: complete readme example --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ed4c5db..7c69041 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,12 @@ func main() { err = cache.Append("users:list", []byte("\nMarcel")) if err != nil { - + log.Fatal(err) } + err = cache.Delete("users:list") + if err != nil { + log.Fatal(err) + } } +```