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