x/website: update featured elasticsearch client

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 https://github.com/olivere/elastic/issues/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>
This commit is contained in:
hermannm 2023-03-14 13:13:06 +01:00 коммит произвёл Gopher Robot
Родитель 43688dc7ed
Коммит 1299b4df8a
3 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -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/

Просмотреть файл

@ -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

Просмотреть файл

@ -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 Gos 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 Gos extreme portability.
## Key Benefits {#key-benefits .sectionHeading}
@ -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