From 59eed04765b935c6277a859503fb2c21f70ed0cb Mon Sep 17 00:00:00 2001 From: willxm Date: Tue, 1 Mar 2022 15:44:25 +0800 Subject: [PATCH] typo --- redcon.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/redcon.go b/redcon.go index 46b7d65..c5f65d0 100644 --- a/redcon.go +++ b/redcon.go @@ -58,8 +58,8 @@ type Conn interface { // For example to write two strings: // // c.WriteArray(2) - // c.WriteBulk("item 1") - // c.WriteBulk("item 2") + // c.WriteBulkString("item 1") + // c.WriteBulkString("item 2") WriteArray(count int) // WriteNull writes a null to the client WriteNull() @@ -591,8 +591,8 @@ func (w *Writer) WriteNull() { // For example to write two strings: // // c.WriteArray(2) -// c.WriteBulk("item 1") -// c.WriteBulk("item 2") +// c.WriteBulkString("item 1") +// c.WriteBulkString("item 2") func (w *Writer) WriteArray(count int) { w.b = AppendArray(w.b, count) }