Imports golang.org/x/net/context gopkg.in/olivere/elastic.v5/uritemplates golang.org/x/net/context/ctxhttp Standard library imports bytes encoding/json errors fmt io io/ioutil math math/rand net/http net/url reflect regexp runtime strconv strings sync sync/atomic time net/http/httputil compress/gzip