Package elasticsearch provides a Go client for Elasticsearch.
go get github.com/elastic/go-elasticsearch/v6No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a default Elasticsearch client and print cluster info.
Use go-elasticsearch/v7 or v8 for newer Elasticsearch versions.
No dependency data recorded yet.