Skip to content

Commit 0a084a6

Browse files
authored
fix versions
1 parent 13b8247 commit 0a084a6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

4949
The `main` branch of the client is compatible with the current `master` branch of Elasticsearch.
5050

0 commit comments

Comments
 (0)