mirror of https://github.com/go-redis/redis.git
readme: Fix typo.
This commit is contained in:
parent
61134182aa
commit
8c7af722cc
|
@ -64,7 +64,7 @@ or:
|
||||||
defer pipeline.Close()
|
defer pipeline.Close()
|
||||||
|
|
||||||
set := pipeline.Set("key1", "hello1")
|
set := pipeline.Set("key1", "hello1")
|
||||||
get := pipline.Get("key2")
|
get := pipleine.Get("key2")
|
||||||
|
|
||||||
reqs, err := pipeline.RunQueued()
|
reqs, err := pipeline.RunQueued()
|
||||||
if err != nil { panic(err) }
|
if err != nil { panic(err) }
|
||||||
|
|
2
doc.go
2
doc.go
|
@ -44,7 +44,7 @@ or:
|
||||||
defer pipeline.Close()
|
defer pipeline.Close()
|
||||||
|
|
||||||
set := pipeline.Set("key1", "hello1")
|
set := pipeline.Set("key1", "hello1")
|
||||||
get := pipline.Get("key2")
|
get := pipleine.Get("key2")
|
||||||
|
|
||||||
reqs, err := pipeline.RunQueued()
|
reqs, err := pipeline.RunQueued()
|
||||||
if err != nil { panic(err) }
|
if err != nil { panic(err) }
|
||||||
|
|
Loading…
Reference in New Issue