1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-14 01:21:30 +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

View File

@ -172,8 +172,6 @@ type Client struct {
cmdable
}
var _ Cmdable = (*Client)(nil)
func newClient(opt *Options, pool pool.Pooler) *Client {
base := baseClient{opt: opt, connPool: pool}
client := &Client{