Imports github.com/go-sql-driver/mysql github.com/elastic/go-elasticsearch github.com/elastic/go-elasticsearch/esapi Standard library imports context crypto/sha256 database/sql encoding/json fmt io/ioutil log net net/http os strings time