elastic / elastic/docs-content

Clarify Go client installation

Open
#1,482 0 comments 0 reactions 1 assignee Claimed by @lcawl View on GitHub
documentation source:web Team:Developer
Dominant language
No language data
Stars
47
Forks
261
Avg merge
3d 21h
Merged PRs (30d)
141

Description

### Type of issue

Inaccurate

### What documentation page is affected

https://www.elastic.co/docs/reference/elasticsearch/clients/go/installation

### What happened?

Mismatch of version numbers in text description and go.mod snippet:

---

# Installation [installation]

To install the 8.x version of the client, add the package to your `go.mod` file:

```text
require github.com/elastic/go-elasticsearch/v9 9.0
```

---

Also, after running `go get github.com/elastic/go-elasticsearch/v9` the line in the go.mod file is:

```
github.com/elastic/go-elasticsearch/v9 v9.0.0
```

I feel it more idiomatic if it said "to install the client run `go get ...` rather than display the line from go.mod??

### Additional info

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.