1
0
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:
Dimitrij Denissenko
2016-03-09 09:49:05 +00:00
parent f7d4933032
commit 9f40911f28
3 changed files with 5 additions and 5 deletions

View File

@ -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},