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

Check that clients implement scripter interface.

This commit is contained in:
Vladimir Mihailenco
2016-12-14 12:12:50 +02:00
parent c6acf2ed15
commit 34122bffa8
6 changed files with 9 additions and 8 deletions

2
tx.go
View File

@ -23,8 +23,6 @@ type Tx struct {
closed bool
}
var _ Cmdable = (*Tx)(nil)
func (c *Client) newTx() *Tx {
tx := Tx{
baseClient: baseClient{