mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Correct method accessors
This commit is contained in:
4
redis.go
4
redis.go
@ -183,12 +183,12 @@ func (opt *Options) getIdleTimeout() time.Duration {
|
||||
// underlying connections. It's safe for concurrent use by multiple
|
||||
// goroutines.
|
||||
type Client struct {
|
||||
*baseClient
|
||||
baseClient
|
||||
commandable
|
||||
}
|
||||
|
||||
func newClient(opt *Options, pool pool) *Client {
|
||||
base := &baseClient{opt: opt, connPool: pool}
|
||||
base := baseClient{opt: opt, connPool: pool}
|
||||
return &Client{
|
||||
baseClient: base,
|
||||
commandable: commandable{process: base.process},
|
||||
|
Reference in New Issue
Block a user