mirror of
https://github.com/redis/go-redis.git
synced 2025-04-16 09:23:06 +03:00
chore: fix examples
This commit is contained in:
parent
3e4ae80c12
commit
6a8cf3e9d8
@ -64,6 +64,8 @@ func ExamplePipeline_instrumentation() {
|
||||
return nil
|
||||
})
|
||||
// Output: pipeline starting processing: [ping: ping: ]
|
||||
// dialing tcp :6379
|
||||
// finished dialing tcp :6379
|
||||
// pipeline finished processing: [ping: PONG ping: PONG]
|
||||
}
|
||||
|
||||
@ -80,6 +82,8 @@ func ExampleClient_Watch_instrumentation() {
|
||||
}, "foo")
|
||||
// Output:
|
||||
// starting processing: <watch foo: >
|
||||
// dialing tcp :6379
|
||||
// finished dialing tcp :6379
|
||||
// finished processing: <watch foo: OK>
|
||||
// starting processing: <ping: >
|
||||
// finished processing: <ping: PONG>
|
||||
|
Loading…
x
Reference in New Issue
Block a user