1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

chore: cleanup OpenTelemetry example

This commit is contained in:
Vladimir Mihailenco
2021-09-08 15:54:10 +03:00
parent b94bde306e
commit 11c4d6f556
4 changed files with 49 additions and 27 deletions

3
tx.go
View File

@ -13,7 +13,8 @@ const TxFailedErr = proto.RedisError("redis: transaction failed")
// Tx implements Redis transactions as described in
// http://redis.io/topics/transactions. It's NOT safe for concurrent use
// by multiple goroutines, because Exec resets list of watched keys.
// If you don't need WATCH it is better to use Pipeline.
//
// If you don't need WATCH, use Pipeline instead.
type Tx struct {
baseClient
cmdable