From cf96a60a5a547abec68da2a60d3e98fc1e8aa741 Mon Sep 17 00:00:00 2001 From: trunglt251292 Date: Mon, 21 Mar 2022 11:01:42 +0700 Subject: [PATCH] [Update] Clear func not use --- elasticsearch.go | 4 ---- 1 file changed, 4 deletions(-) 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) {