Skip to content

Commit

Permalink
Merge pull request #1817 from Shopify/revert-1785-client-interface-pr…
Browse files Browse the repository at this point in the history
…ivate

Revert "Add private method to Client interface to prevent implementation"
  • Loading branch information
d1egoaz committed Oct 21, 2020
2 parents ae17db9 + 1c28834 commit d1d820a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions client.go
Expand Up @@ -93,9 +93,6 @@ type Client interface {

// Closed returns true if the client has already had Close called on it
Closed() bool

// A private method to prevent users implementing the interface for compatibility
private()
}

const (
Expand Down Expand Up @@ -187,8 +184,6 @@ func NewClient(addrs []string, conf *Config) (Client, error) {
return client, nil
}

func (client *client) private() {}

func (client *client) Config() *Config {
return client.conf
}
Expand Down

0 comments on commit d1d820a

Please sign in to comment.