Update 05.6.md
多了一个逗号,不知道是否会引起错误
This commit is contained in:
@@ -58,7 +58,7 @@ func newPool(server string) *redis.Pool {
|
||||
TestOnBorrow: func(c redis.Conn, t time.Time) error {
|
||||
_, err := c.Do("PING")
|
||||
return err
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user