mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
add runtime type assertion
This commit is contained in:
@ -20,6 +20,8 @@ type Pipeliner interface {
|
||||
pipelined(fn func(Pipeliner) error) ([]Cmder, error)
|
||||
}
|
||||
|
||||
var _ Pipeliner = (*Pipeline)(nil)
|
||||
|
||||
// Pipeline implements pipelining as described in
|
||||
// http://redis.io/topics/pipelining. It's safe for concurrent use
|
||||
// by multiple goroutines.
|
||||
|
Reference in New Issue
Block a user