Imports github.com/kelseyhightower/envconfig github.com/elastic/go-elasticsearch github.com/elastic/go-elasticsearch/esapi Standard library imports bufio context encoding/json fmt io log net/http os strings time