mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
And another.
This commit is contained in:
@ -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",
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user