forked from mirror/redis
And another.
This commit is contained in:
parent
3560a58a8b
commit
8f7818ea4d
|
@ -31,7 +31,7 @@ func ExampleNewUnixClient() {
|
||||||
// Output: <nil> PONG
|
// Output: <nil> PONG
|
||||||
}
|
}
|
||||||
|
|
||||||
func ExampleSet() {
|
func ExampleClient() {
|
||||||
client := redis.NewTCPClient(&redis.Options{
|
client := redis.NewTCPClient(&redis.Options{
|
||||||
Addr: ":6379",
|
Addr: ":6379",
|
||||||
})
|
})
|
||||||
|
@ -47,7 +47,7 @@ func ExampleSet() {
|
||||||
// <nil> bar
|
// <nil> bar
|
||||||
}
|
}
|
||||||
|
|
||||||
func ExampleClientPipelined() {
|
func ExamplePipeline2() {
|
||||||
client := redis.NewTCPClient(&redis.Options{
|
client := redis.NewTCPClient(&redis.Options{
|
||||||
Addr: ":6379",
|
Addr: ":6379",
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue