diff --git a/elasticsearch.go b/elasticsearch.go index 633313b..2fcf915 100644 --- a/elasticsearch.go +++ b/elasticsearch.go @@ -49,10 +49,6 @@ func NewClient(config Config) (*Client, error) { return client, nil } -func GetClient() *Client { - return client -} - // requestNats // publish message to nats and waiting response func requestNats(subject string, data []byte) (*Response, error) {