Imports github.com/elastic/elastic-transport-go/v8/elastictransport github.com/elastic/go-elasticsearch/v8/typedapi/types github.com/elastic/go-elasticsearch/v8/typedapi/types/enums/clusterprivilege Standard library imports bytes context encoding/json errors fmt io net/http net/url strings