File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ It's possible to use multiple versions of the client in a single project:
3939
4040 // main.go
4141 import (
42- elasticsearch7 "github.com/elastic/go-elasticsearch/v8"
43- elasticsearch8 "github.com/elastic/go-elasticsearch/v9"
42+ elasticsearch8 "github.com/elastic/go-elasticsearch/v8"
43+ elasticsearch9 "github.com/elastic/go-elasticsearch/v9"
4444 )
4545 // ...
46- es8, _ := elasticsearch7 .NewDefaultClient()
47- es9, _ := elasticsearch8 .NewDefaultClient()
46+ es8, _ := elasticsearch8 .NewDefaultClient()
47+ es9, _ := elasticsearch9 .NewDefaultClient()
4848
4949The ` main ` branch of the client is compatible with the current ` master ` branch of Elasticsearch.
5050
You can’t perform that action at this time.
0 commit comments