From 1c28834f65b4f2427e66f6fffec9867305892ef6 Mon Sep 17 00:00:00 2001 From: Diego Alvarez Date: Wed, 21 Oct 2020 12:33:25 -0700 Subject: [PATCH] Revert "Add private method to Client interface to prevent implementation" --- client.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/client.go b/client.go index b414ad6a9..f00733822 100644 --- a/client.go +++ b/client.go @@ -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 ( @@ -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 }