瀏覽代碼

[DOCS] Update documentation for the Go client (#41238)

* Removed the "Work in progress" panel
* Added proper installation instructions for current release
Karel Minarik 6 年之前
父節點
當前提交
545a71e2a3
共有 1 個文件被更改,包括 3 次插入9 次删除
  1. 3 9
      docs/go/index.asciidoc

+ 3 - 9
docs/go/index.asciidoc

@@ -8,12 +8,6 @@ Full documentation is hosted at https://github.com/elastic/go-elasticsearch[GitH
 and https://godoc.org/github.com/elastic/go-elasticsearch[GoDoc]
 -- this page provides only an overview.
 
-.Work In Progress
-************************************************************************************
-The client is currently available as a public preview. We encourage you to try the
-package in your projects, but please be aware that the public API may change.
-************************************************************************************
-
 === Elasticsearch Version Compatibility
 
 The client major versions correspond to the Elasticsearch major versions:
@@ -28,7 +22,7 @@ Add the package to your `go.mod` file:
 
 [source,text]
 ------------------------------------
-require github.com/elastic/go-elasticsearch {VERSION}
+require github.com/elastic/go-elasticsearch/v7 7.x
 ------------------------------------
 
 === Usage
@@ -40,7 +34,7 @@ package main
 import (
   "log"
 
-  "github.com/elastic/go-elasticsearch"
+  "github.com/elastic/go-elasticsearch/v7"
 )
 
 func main() {
@@ -61,7 +55,7 @@ at https://github.com/elastic/go-elasticsearch/tree/master/_examples.
 
 == License
 
-Copyright 2019-present Elasticsearch
+Copyright 2019 Elasticsearch
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.