Skip to content

Commit

Permalink
x/website: update featured elasticsearch client
Browse files Browse the repository at this point in the history
The Elasticsearch client currently featured at https://go.dev/, https://go.dev/solutions/webdev and https://go.dev/solutions/cloud is https://github.com/olivere/elastic, which has been deprecated (see the sidebar in the repo) in favor of the official client https://github.com/elastic/go-elasticsearch. As explained under "UPDATE 2022-07-13" in olivere/elastic#1533, olivere/elastic will not be updated for newer Elasticsearch versions.

This patch changes the featured Elasticsearch client from olivere/elastic to elastic/go-elasticsearch. It also updates the version of elastic/go-elasticsearch linked at the top of the webdev page. Lastly, it fixes typos in "A Elasticsearch client" -> "An Elasticsearch client" and "ElasticSearch" -> "Elasticsearch" (which is the correct spelling, per https://www.elastic.co/elasticsearch/).

Fixes golang/go#59028

Change-Id: I71fcf62a6030cebc2c6d7944c1327501714fdfdd
Reviewed-on: https://go-review.googlesource.com/c/website/+/476156
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
  • Loading branch information
hermannm authored and gopherbot committed Mar 24, 2023
1 parent 43688dc commit 1299b4d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions _content/resources.yaml
Expand Up @@ -43,8 +43,8 @@
url: https://github.com/flosch/pongo2
- title: database/sql
url: /pkg/database/sql/
- title: olivere/elastic
url: https://github.com/olivere/elastic
- title: elastic/go-elasticsearch
url: https://github.com/elastic/go-elasticsearch
- title: DevOps & Site Reliability
description: "With fast build times, lean syntax, an automatic formatter and doc generator, Go is built to support both DevOps and SRE."
link: /solutions/devops/
Expand Down
6 changes: 3 additions & 3 deletions _content/solutions/cloud.md
Expand Up @@ -201,9 +201,9 @@ The major Cloud providers ([GCP](https://cloud.google.com/go/home), [AWS](https:
- text: mongo-driver/mongo
url: https://pkg.go.dev/go.mongodb.org/mongo-driver/mongo?tab=overview
desc: The MongoDB supported driver for Go
- text: olivere/elastic
url: https://pkg.go.dev/github.com/olivere/elastic?tab=overview
desc: A Elasticsearch client for Go
- text: elastic/go-elasticsearch
url: https://pkg.go.dev/github.com/elastic/go-elasticsearch/v8?tab=overview
desc: An Elasticsearch client for Go
- text: GORM
url: https://gorm.io/
desc: An ORM library for Go
Expand Down
8 changes: 4 additions & 4 deletions _content/solutions/webdev.md
Expand Up @@ -17,7 +17,7 @@ iconDark:

### Go delivers speed, security, and developer-friendly tools for Web Applications

Go is designed to enable developers to rapidly develop scalable and secure web applications. Go ships with an easy to use, secure and performant web server and includes it own web templating library. Go has excellent support for all of the latest technologies from [HTTP/2](https://pkg.go.dev/net/http), to databases like [MySQL](https://pkg.go.dev/mod/github.com/go-sql-driver/mysql), [MongoDB](https://pkg.go.dev/mod/go.mongodb.org/mongo-driver) and [ElasticSearch](https://pkg.go.dev/mod/github.com/elastic/go-elasticsearch/v7), to the latest encryption standards including [TLS 1.3](https://pkg.go.dev/crypto/tls). Go web applications run natively on [Google App Engine](https://cloud.google.com/appengine/) and [Google Cloud Run](https://cloud.google.com/run/) (for easy scaling) or on any environment, cloud, or operating system thanks to Go’s extreme portability.
Go is designed to enable developers to rapidly develop scalable and secure web applications. Go ships with an easy to use, secure and performant web server and includes it own web templating library. Go has excellent support for all of the latest technologies from [HTTP/2](https://pkg.go.dev/net/http), to databases like [MySQL](https://pkg.go.dev/mod/github.com/go-sql-driver/mysql), [MongoDB](https://pkg.go.dev/mod/go.mongodb.org/mongo-driver) and [Elasticsearch](https://pkg.go.dev/mod/github.com/elastic/go-elasticsearch/v8), to the latest encryption standards including [TLS 1.3](https://pkg.go.dev/crypto/tls). Go web applications run natively on [Google App Engine](https://cloud.google.com/appengine/) and [Google Cloud Run](https://cloud.google.com/run/) (for easy scaling) or on any environment, cloud, or operating system thanks to Go’s extreme portability.

## Key Benefits {#key-benefits .sectionHeading}

Expand Down Expand Up @@ -175,9 +175,9 @@ Tigran Bayburtsyan, Co-Founder and CTO at Hexact Inc., summarizes five key reaso
- text: mongo-driver/mongo
url: https://pkg.go.dev/go.mongodb.org/mongo-driver/mongo?tab=overview
desc: The MongoDB supported driver for Go
- text: olivere/elastic
url: https://pkg.go.dev/github.com/olivere/elastic?tab=overview
desc: A Elasticsearch client for Go
- text: elastic/go-elasticsearch
url: https://pkg.go.dev/github.com/elastic/go-elasticsearch/v8?tab=overview
desc: An Elasticsearch client for Go
- text: GORM
url: https://gorm.io/
desc: An ORM library for Go
Expand Down

0 comments on commit 1299b4d

Please sign in to comment.