Граф коммитов

2321 Коммитов

Автор SHA1 Сообщение Дата
ariathaker b3eae53547 _content/doc/tutorial: added govulncheck tutorial
A new tutorial is added which explains how to use govulncheck, using an
example from golang.org/x/text.

Change-Id: Ifcaab5b4d3787642a19b773cb725a5127d01e7e8
Reviewed-on: https://go-review.googlesource.com/c/website/+/488935
Run-TryBot: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Brandon Kessler <bkessler@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
Reviewed-by: Todd Kulesza <tkulesza@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2023-05-17 17:39:18 +00:00
ariathaker fb9b68ce35 _content/security: update the Go security page
Update the Go security page to restructure the information and reframe
around expected user journeys.

Change-Id: I9f802c3f8dd7ffb692b4608b37c4f8c1d94391a5
Reviewed-on: https://go-review.googlesource.com/c/website/+/488875
Auto-Submit: Julie Qiu <julieqiu@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Todd Kulesza <tkulesza@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Brandon Kessler <bkessler@google.com>
2023-05-17 17:13:16 +00:00
Russ Cox 4fc81e6d7c admingolangorg: move to symbolic-datum-552 on admin.go.dev
This way nothing in the golang-org project needs IAP.
Leave behind a redirect on admin.golang.org to admin.go.dev.

Also rename app to adminapp; add new redirector adminredirect.

Change-Id: I062d92db31e39a7f58fd3aad77fc5eef64e3f0dd
Reviewed-on: https://go-review.googlesource.com/c/website/+/495275
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2023-05-16 17:51:57 +00:00
Viktor 53bf622d51 _content/tour: add a link to the Ukraininan translation
Add a link to the Ukrainian translation to "A Tour of Go".

Link: https://go-tour-ua-translation.lm.r.appspot.com

Fixes golang/go#59945.

Change-Id: I688c6d89914e8bcce4b71a9eb381fe3c196776bd
GitHub-Last-Rev: 1d5608cb80
GitHub-Pull-Request: golang/website#224
Reviewed-on: https://go-review.googlesource.com/c/website/+/492215
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2023-05-15 17:42:03 +00:00
Dmitri Shuralyov cd3dc4298d _content/doc: update testdir import path in contribution guide
It's changed slightly to be inside 'cmd'.

For golang/go#56844.
For golang/go#60059.

Change-Id: I244f0ae627978a7b59d6a56d20aebc3ff81b3179
Reviewed-on: https://go-review.googlesource.com/c/website/+/493915
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-05-12 17:20:21 +00:00
Sean Liao 9110c24c89 _content/ref: remove go get from build commands
Fixes golang/go#60110

Change-Id: I4513db35a100695801a29c33783061f1b485197d
Reviewed-on: https://go-review.googlesource.com/c/website/+/494235
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2023-05-11 23:38:24 +00:00
Todd Kulesza 3f5af7e652 _content/blog: fix chart fonts and line wrapping
Change-Id: I4a08ac829a9a74d640675ee52a9005665fd2d073
Reviewed-on: https://go-review.googlesource.com/c/website/+/494415
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cameron Balahan <cbalahan@google.com>
Reviewed-by: Alice Merrick <amerrick@google.com>
Run-TryBot: Todd Kulesza <tkulesza@google.com>
2023-05-11 18:26:20 +00:00
Alice Merrick 556b706eb3 blog: Go developer survey results 2023q1
Change-Id: I7100ca56b8419cd00b5531de18c7629ae329657f
Reviewed-on: https://go-review.googlesource.com/c/website/+/492621
Reviewed-by: Cameron Balahan <cbalahan@google.com>
Reviewed-by: Todd Kulesza <tkulesza@google.com>
Auto-Submit: Eli Bendersky <eliben@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Eli Bendersky <eliben@google.com>
2023-05-11 16:20:12 +00:00
Julie Qiu d586ed704b _content/security: update policy for PUBLIC issues
Update the security policy to include information about PUBLIC issues
going through the proposal review process and being labeled with
`Proposal-Security`.

Change-Id: I19dee1c9abc2219ba908a8533040617b20f0a779
Reviewed-on: https://go-review.googlesource.com/c/website/+/491655
Run-TryBot: Julie Qiu <julieqiu@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-05-09 17:56:21 +00:00
Carlos Amedee 6261a22272 all: updating golang.org/x/build dependency version
The version is being updated to include CL 492755.

Change-Id: Iec5a8cdc420f1151b6d14d7bccd409056540a1b6
Reviewed-on: https://go-review.googlesource.com/c/website/+/492775
Run-TryBot: Carlos Amedee <carlos@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-05-05 15:22:16 +00:00
Robert Findley a358479459 _content: fix package name in branch module image
The v2 branch should use the name "package1" for its example package, to
be consistent with the v1 branch and the subsequent documentation.

I edited the image in GIMP and exported with maximal compression, then
used optipng to optimize the resulting file, but still did not quite
achieve the previous level of compression.

Fixes golang/go#59948

Change-Id: I64d9d4d21e5bf79731cdd02401420bd81e2bb33d
Reviewed-on: https://go-review.googlesource.com/c/website/+/492475
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2023-05-04 14:33:33 +00:00
Carlos Amedee 0a584939d7 internal/history: document Go 1.20.4 and 1.19.9 releases
Change-Id: I67f76d7bf4116b451019ae875bc9ca2c6ef55ad9
Reviewed-on: https://go-review.googlesource.com/c/website/+/491455
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
2023-05-02 17:30:22 +00:00
Dmitri Shuralyov eb076cb85a internal/history: document future Go 1.20.4 and 1.19.9 releases
Change-Id: I5fc471002322935129de27c4ec8407defccb26ff
Reviewed-on: https://go-review.googlesource.com/c/website/+/490375
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2023-04-28 18:22:57 +00:00
Hana (Hyang-Ah) Kim 9a3b5755f5 go.mod: fix vulnerable dependencies
GO-2023-1571 golang.org/x/net/http2@v0.3.0
GO-2022-0603 gopkg.in/yaml.v3@v3.0.0-20210107192922-496545a6307b

Change-Id: I3aa15073ebc91c0e6db00e03c7fb74d8cb6f39f2
Reviewed-on: https://go-review.googlesource.com/c/website/+/487115
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
2023-04-24 20:02:05 +00:00
Sean Liao 52d3c8aedc _content/blog: fix command output
Fixes golang/go#59778

Change-Id: I5eaa2882e8d53cfbfa05c13f536419ef82a898b2
Reviewed-on: https://go-review.googlesource.com/c/website/+/487735
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
2023-04-24 13:37:12 +00:00
Jamal Carvalho 274652299d _content: add toggle to display other ports on download page
Fixes golang/go#59317.

Change-Id: I1fd8020838f519b3a481745a979a0253458e4257
Reviewed-on: https://go-review.googlesource.com/c/website/+/486555
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-04-20 04:48:43 +00:00
ariathaker 8d26d85414 _content: change nav dropdown text to "Security"
For golang/go#57972

Change-Id: Ibad8a1ffb1a63b9bb2d45daaad53bc52455d7766
Reviewed-on: https://go-review.googlesource.com/c/website/+/483777
Commit-Queue: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Julie Qiu <julieqiu@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2023-04-19 21:18:28 +00:00
Hana (Hyang-Ah) Kim 5d864d6812 _content/security/vuln: add editor.md
This page explains the editor integration and shows example
editor configurations to enable the features.

Change-Id: I75a4a9b0ff28fd2c5392da2b696255331b186c2c
Reviewed-on: https://go-review.googlesource.com/c/website/+/485815
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Todd Kulesza <tkulesza@google.com>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Commit-Queue: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-04-19 20:15:00 +00:00
Dmitri Shuralyov 02b70d4b2e cmd/googlegolangorg: remove go-source meta tag where unnecessary
pkg.go.dev doesn't need the go-source meta tag to be set when the source
repository is hosted on GitHub; it detects that from the go-import meta
tag and does the rest itself. Only the protobuf repo still needs it:
its canonical source repository is on Gerrit but it prefers a mirror
repository on GitHub to be used for viewing the source code.

Also make the redirect message nicer, like CL 293415 did for
golang.org/x repos.

Change-Id: I489f17163fb574e0fb8edb8575af8b66ca7e5251
Reviewed-on: https://go-review.googlesource.com/c/website/+/485355
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2023-04-19 17:54:38 +00:00
Dmitri Shuralyov d4f5804395 cmd/golangorg: remove go-source meta tag for golang.org/x repos
The go-source meta tag was added in CL 2719 so that godoc.org could
link to source code for golang.org/x repos. godoc.org is now served
by golang.org/x/pkgsite rather than by github.com/golang/gddo, and
x/pkgsite maintains this mapping for golang.org/x repos itself in
x/pkgsite/internal/source. Drop the tag since it has become unused
and stale (we've since switched to https://cs.opensource.google/go
for viewing x/ repo source code).

Updates golang/go#40477.

Change-Id: Id029e58bfdb838e040241d6bf7677349cec6e04a
Reviewed-on: https://go-review.googlesource.com/c/website/+/484515
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
2023-04-19 17:23:12 +00:00
Tatiana Bradley c9102372a4 _content/security/vuln: update docs
Change-Id: Ib7fd65687c7b8e0ed0c45985ab50fea5c5feae17
Reviewed-on: https://go-review.googlesource.com/c/website/+/485955
Reviewed-by: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
Run-TryBot: Tatiana Bradley <tatianabradley@google.com>
2023-04-18 21:24:42 +00:00
Tatiana Bradley e0bde46eda _content/security/vuln: replace API docs with v1
Change-Id: I729d5d37acb8c4b62fa57a90b490d4ef0e89be68
Reviewed-on: https://go-review.googlesource.com/c/website/+/485837
Run-TryBot: Tatiana Bradley <tatianabradley@google.com>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2023-04-18 17:37:14 +00:00
Tatiana Bradley e060ae6050 _content/security/vuln: remove mention of multiple dbs in docs
Change-Id: I2d298351c83a141e145e166a548e87276887968e
Reviewed-on: https://go-review.googlesource.com/c/website/+/485836
Run-TryBot: Tatiana Bradley <tatianabradley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
2023-04-18 17:36:45 +00:00
Daniel Frederick Crisman 5fcfc44508 _content/doc: remove second extra < in HTML
Commit 18b7f5b1d4 from last week, updated the release notes for 1.19 and
1.20 which included a copy/paste HTML formatting error, fixing the second
place here. Also verified these were the only two places in website that got
this typo. The comment version of this in go repo is not HTML formatted, so
no typo.

Typo from an update last week, remove an second extra '<'.

Updates golang/go#59534

Change-Id: I343c48f143bbeae14dbd0e589eaa531baa580f9d
GitHub-Last-Rev: f0a55b2ae7
GitHub-Pull-Request: golang/website#221
Reviewed-on: https://go-review.googlesource.com/c/website/+/483977
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2023-04-12 19:35:30 +00:00
Daniel Frederick Crisman cd8568966a _content/doc: remove extra < in HTML formatting
Typo from an update last week, remove an extra '<'.

Fixes golang/go#59534

Change-Id: Ic8f08121a1abbe9967136c68bba07c6d43820686
GitHub-Last-Rev: 2b2d79b7a2
GitHub-Pull-Request: golang/website#220
Reviewed-on: https://go-review.googlesource.com/c/website/+/483735
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
2023-04-11 20:29:36 +00:00
Jamal Carvalho 41e922072f _content/tour: fix top-left link to homepage
Fixes golang/go#59094.

Change-Id: I240bb8abfd663f5e5dea687d28c1b1c5d4b58980
Reviewed-on: https://go-review.googlesource.com/c/website/+/481675
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
2023-04-05 16:34:43 +00:00
Michael Anthony Knyszek 18b7f5b1d4 _content/doc: update release notes with backwards incompatible changes
Go 1.19.8 and Go 1.20.3 had backwards-incompatible changes. Raise their
visibility by updating the release notes for Go 1.19 and Go 1.20.

Updates #59153.
Updates #59234.

Change-Id: Icd472bd5754c3dea1a1459e364746600826889b1
Reviewed-on: https://go-review.googlesource.com/c/website/+/482240
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-04-05 15:37:47 +00:00
Tatiana Bradley 20890b56f4 _content/security/vuln: document the database_specific.url OSV field
Change-Id: Id49062ae7780f414a862976106548b3eeb9d5c6a
Reviewed-on: https://go-review.googlesource.com/c/website/+/482236
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Tatiana Bradley <tatianabradley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
2023-04-05 15:36:13 +00:00
Jamal Carvalho e9ef0abe70 _content: download link on install doc goes to download page
There is no way to reliably detect system architecture and the
install doc page is missing appropriate legal disclaimers and
notifications. Updating the button to redirect to the download
page.

For #golang/go#52487.

Change-Id: I032ac3ea3699a89acc916a8ffeafc018d51ff8f3
Reviewed-on: https://go-review.googlesource.com/c/website/+/480955
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
2023-04-05 14:56:14 +00:00
Jamal Carvalho ca4ce6e575 internal/screentest: ignore pointer fields in tests
Added pointer fields on chromedp structs to ignore list
for comparison tests to prevent test failures.

Change-Id: Iad8b781d50e15f0e548b439b520efe27aba0e017
Reviewed-on: https://go-review.googlesource.com/c/website/+/481480
Auto-Submit: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2023-04-05 14:55:51 +00:00
Michael Anthony Knyszek 7c64aef083 internal/history: document Go 1.20.3 and 1.19.8 releases
Change-Id: I61c7e22f8e8298f712469f3cc38451b7331fdf40
Reviewed-on: https://go-review.googlesource.com/c/website/+/481842
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-04-04 17:33:26 +00:00
Jamal Carvalho d5b86284c6 _content: remove dead code on download page
Inline JS is not allowed by our CSP. This code does not
execute and is reported as an error in the inspector console.

Change-Id: Ic56e86b6e12ed2b4fcdd20c07026cf29ae4c7c40
Reviewed-on: https://go-review.googlesource.com/c/website/+/480956
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-03-31 20:09:18 +00:00
Russ Cox 0c673f0921 cmd/golangorg: add support for module form of Go distributions
Add https://golang.org/toolchain serving appropriate meta tags
with mod redirect to https://go.dev/dl/mod.

Add https://go.dev/dl/mod/golang.org/toolchain/@v/ redirecting
to files in https://dl.google.com/go/.

Add https://go.dev/dl/mod/golang.org/toolchain/@v/list listing
stable toolchain versions.

For golang/go#57001.

Change-Id: Ib3283cab1d8ead0373ca7549f0e17ccba7cfaa22
Reviewed-on: https://go-review.googlesource.com/c/website/+/480840
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-03-31 16:08:49 +00:00
Robert Findley 2bd866e379 cmd/golangorg: update testdata/live.txt to expect the VetErrors field
CL 478576 restored support for go vet errors to go.dev/play. However, I
didn't realize that cmd/golangorg/testdata contained tests that aren't
run by trybots. Since these tests were not updated, the deployment
failed.

Update live.txt to expect the VetErrors field. Tested locally by
uncommenting the skip in server_test.go.

For golang/go#58560

Change-Id: I2757ef569907a730f9cccccd0f15e7a7b1bb9975
Reviewed-on: https://go-review.googlesource.com/c/website/+/480236
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-03-29 18:05:46 +00:00
Robert Findley fe2f2e7c05 internal/play: fix support for vet errors in playground output
The compile proxy for go.dev/play was not forwarding the Request.WithVet
or Response.VetErrors fields, resulting in no vet errors in the new
playground. Furthermore, it looked like the styling intended for errors
and system messages was not being correctly applied, due to CSS
selectors changing.

Fix both of these bugs, assuming that the broken styling is in fact a
bug.

Result at https://github.com/golang/go/issues/58560#issuecomment-1480044674

Fixes golang/go#58560

Change-Id: If7a9a4323414f4c844e90bd340d93a74e59ce462
Reviewed-on: https://go-review.googlesource.com/c/website/+/478576
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2023-03-29 15:03:50 +00:00
Martin Kraft 2f994f811f _content/doc: modernize spelling of "boilerplate"
Change-Id: Ic3346a42c91b0bb12904b382ef86b24c2db63b70
Reviewed-on: https://go-review.googlesource.com/c/website/+/477515
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Rob Pike <r@golang.org>
2023-03-24 18:05:08 +00:00
hermannm 1299b4df8a 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>
2023-03-24 17:48:51 +00:00
Uzondu Enudeme 43688dc7ed _content/doc: ensure database example code compiles
The CreateOrder example function fails to compile for two reasons:
   A helper function with wrong number of return values (want 2, got 1).
   A short variable declaration (:=) does not declare new variables.

This change resolves the compiler error, allowing the code to compile.

Fixes golang/go#50508

Change-Id: Ife07ae1490969ae67525b9171ab4fcd424409c1c
Reviewed-on: https://go-review.googlesource.com/c/website/+/376974
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-03-24 17:48:49 +00:00
Will Hawkins a1d570eea4 _content/doc: update review command access
The UI in Gerrit has changed slightly since the contribution documentation was initially written. The new UI has a slightly different means of accessing commands that will allow users to import a CL.

Change-Id: I82c7fc08b70e1afe2db52c313517ab38a1c9016a
Reviewed-on: https://go-review.googlesource.com/c/website/+/478995
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2023-03-24 17:46:53 +00:00
Ian Lance Taylor 710879a47f doc/install/gccgo: update for GCC 12 and 13
Fixes golang/go#59143

Change-Id: I15f04244f3eda0292c6895fd2c2e816c86183ac7
Reviewed-on: https://go-review.googlesource.com/c/website/+/477875
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2023-03-20 20:35:00 +00:00
Rajiv Singh e74720e629 _content/doc: Missing "the" in sentence
Fixes: https://github.com/golang/go/issues/58991

Change-Id: I1b40b5b8641ca5cd3ce17195b167c24ecfca8124
GitHub-Last-Rev: 8c57894815
GitHub-Pull-Request: golang/website#211
Reviewed-on: https://go-review.googlesource.com/c/website/+/475775
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Rob Pike <r@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2023-03-17 02:19:47 +00:00
Valentin Deleplace b0bb140f79 _content: add high-res favicon
Fixes golang/go#57899

Change-Id: I66d6477f7d595229443b45230202957193114047
Reviewed-on: https://go-review.googlesource.com/c/website/+/476975
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2023-03-16 15:58:34 +00:00
Frederick Mixell 3c15923231 _content: Why Go/Solutions routing update
- Update links: solutions#case-studies => solutions/case-studies.
- Update links: solutions#use-cases    => solutions/use-cases.
- Adds blank markdown files as place holders for these pages.
- Removes js for tabbing because it's no longer used.
- Convert solutions index page into directory page (no design).
- Add old slider to case studies page so it isn't missing from a deploy

Screenshot: https://drive.google.com/file/d/1FWC_d6SUqPZ0UQfETCyvOjcvEUCI4KGA/view?usp=sharing

Change-Id: If9e2f866c5e3252cdd943068d212f0264f01b1e5
Reviewed-on: https://go-review.googlesource.com/c/website/+/436335
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-03-13 17:03:14 +00:00
Oleksandr Redko 42e3b47265 _content/blog: fix issues in test coverage blog post
- Fix typo in GitHub.
- Remove duplicated word.
- Code blocks must be indented with TAB to render correctly.

Change-Id: I71b6962aab1379ceaab71b8747d1457337a2111c
Reviewed-on: https://go-review.googlesource.com/c/website/+/474876
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
2023-03-11 12:46:05 +00:00
Oleksandr Redko e373aeebc5 all: correct typo in GitHub
Change-Id: I21ad8a30bcfaaf7ea02b489a3cf10f8a01351b70
Reviewed-on: https://go-review.googlesource.com/c/website/+/474875
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-03-10 19:59:45 +00:00
Oleksandr Redko c52c517351 _content/blog: fix typo
Change-Id: Id5d5b34dbad33ee3c669b0aef9dad738ae9dc99e
Reviewed-on: https://go-review.googlesource.com/c/website/+/474076
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2023-03-10 19:58:33 +00:00
Ian Lance Taylor 7c7b7456ef doc/go1.20: mention that calling T.Run from T.Cleanup will panic
For golang/go#48515

Change-Id: I1c616144a58e92fe4022d0e86f4208d68dcce816
Reviewed-on: https://go-review.googlesource.com/c/website/+/475215
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Rob Pike <r@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
2023-03-10 16:08:50 +00:00
Carlos Amedee 94b96fa4bb _content/blog: fix a typo in the integration test coverage post
Fixes golang/go#58951

Change-Id: Ie2775a049d65b8db89f954be880a3c57a0dbd872
Reviewed-on: https://go-review.googlesource.com/c/website/+/474957
Run-TryBot: Carlos Amedee <carlos@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
2023-03-09 22:42:06 +00:00
Frederick Mixell e5a0b2f987 _content: Why Go - new cards
New cards from the Why Go designs.

- Adds new card from design to Use Cases and Case Studies.
- Slider omitted because it's redesign will be in another cr.

Screenshot:(Use Cases)
https://drive.google.com/file/d/1XZOmbLkzTCIriGuivAyAeI-HhOReDOjJ/view?usp=sharing

Screenshot: (Case Studies)
https://drive.google.com/file/d/1qiCCpARiqSSvOVcN6nOc5kci61cldAo0/view?usp=sharing

Change-Id: I4d3d465d694dffee455ab3beb3eaba4b1b862629
Reviewed-on: https://go-review.googlesource.com/c/website/+/436336
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-03-09 19:42:24 +00:00
Frederick Mixell 0728710903 _content: Go project page redesign
Converting project page to use the "flat card"

- divides up page into sections to match the design preserving ID's
- removes test in web.txt that looks for release schedule because it was removed.

Video: https://drive.google.com/file/d/1MYcZTeuoDAoEFTWRRVZ93hyLsJSwKi2I/view?usp=sharing

Change-Id: If3df2f050592c5c1ac3a92763404e8eaba3972be
Reviewed-on: https://go-review.googlesource.com/c/website/+/445578
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-03-09 19:40:47 +00:00