Imports github.com/pkg/errors gopkg.in/olivere/elastic.v5/config gopkg.in/olivere/elastic.v5/uritemplates Standard library imports bytes context encoding/json errors fmt io io/ioutil log math math/rand net/http net/url os reflect regexp runtime strconv strings sync sync/atomic time net/http/httputil compress/gzip