Skip to content

Clarify Go client installation #1482

@jem-davies

Description

@jem-davies

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:

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

Metadata

Metadata

Assignees

Labels

Team:DeveloperIssues owned by the Developer Docs TeamdocumentationImprovements or additions to documentationsource:webIssues originating from the elastic.co docs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions