1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00

follow to golang-lint 1.40

Signed-off-by: monkey <golang@88.com>
This commit is contained in:
monkey
2021-05-13 10:33:38 +08:00
parent 7d319aeb57
commit 26373ef2f1
5 changed files with 9 additions and 2 deletions

View File

@ -12,7 +12,10 @@ import (
)
var (
ErrClosed = errors.New("redis: client is closed")
// ErrClosed performs any operation on the closed client will return this error.
ErrClosed = errors.New("redis: client is closed")
// ErrPoolTimeout timed out waiting to get a connection from the connection pool.
ErrPoolTimeout = errors.New("redis: connection pool timeout")
)