Skip to content

Commit 545a71e

Browse files
authored
[DOCS] Update documentation for the Go client (#41238)
* Removed the "Work in progress" panel * Added proper installation instructions for current release
1 parent 8dd5dee commit 545a71e

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

docs/go/index.asciidoc

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ Full documentation is hosted at https://github.com/elastic/go-elasticsearch[GitH
88
and https://godoc.org/github.com/elastic/go-elasticsearch[GoDoc]
99
-- this page provides only an overview.
1010

11-
.Work In Progress
12-
************************************************************************************
13-
The client is currently available as a public preview. We encourage you to try the
14-
package in your projects, but please be aware that the public API may change.
15-
************************************************************************************
16-
1711
=== Elasticsearch Version Compatibility
1812

1913
The client major versions correspond to the Elasticsearch major versions:
@@ -28,7 +22,7 @@ Add the package to your `go.mod` file:
2822

2923
[source,text]
3024
------------------------------------
31-
require github.com/elastic/go-elasticsearch {VERSION}
25+
require github.com/elastic/go-elasticsearch/v7 7.x
3226
------------------------------------
3327

3428
=== Usage
@@ -40,7 +34,7 @@ package main
4034
import (
4135
"log"
4236
43-
"github.com/elastic/go-elasticsearch"
37+
"github.com/elastic/go-elasticsearch/v7"
4438
)
4539
4640
func main() {
@@ -61,7 +55,7 @@ at https://github.com/elastic/go-elasticsearch/tree/master/_examples.
6155

6256
== License
6357

64-
Copyright 2019-present Elasticsearch
58+
Copyright 2019 Elasticsearch
6559

6660
Licensed under the Apache License, Version 2.0 (the "License");
6761
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)