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

758 Коммитов

Автор SHA1 Сообщение Дата
Russ Cox 6cc10c446b _content: make "Press Esc to move out of the editor" message stop flickering
It's distracting to have this "Press Esc to move out of the editor"
message flicker on and off as focus shifts around the pages, especially
since it moves everything else up and down.

Make the message permanent and unobtrusive instead.

Change-Id: Iabe7a723f01ff2b54c49b3ef1214a1787b2751cd
Reviewed-on: https://go-review.googlesource.com/c/website/+/517695
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-09 16:33:15 +00:00
Ian Lance Taylor 98d0ae50c7 _content/doc/go1.21: fix grammar error
Fixes golang/go#61855

Change-Id: I7affe4337395c5f6cddb07ca92eef6249806100a
Reviewed-on: https://go-review.googlesource.com/c/website/+/517217
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-08-08 21:32:15 +00:00
Robert Griesemer 4011a97385 website: fix minor grammatical mistake in comparable.md
Change-Id: I051e221eaeee5f29df281fdf6c8bc88873cadadd
Reviewed-on: https://go-review.googlesource.com/c/website/+/490095
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-08-08 20:58:46 +00:00
Ian Lance Taylor c5f035074e _content/doc/go1.21: correct Buffer.AvailableBuffer link
Fixes golang/go#61861

Change-Id: Iaeac7e4ce427f98b6fc3faa10403620430c06e44
Reviewed-on: https://go-review.googlesource.com/c/website/+/517375
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
2023-08-08 20:17:28 +00:00
Ian Lance Taylor a5040e7bce _content/doc/go1.21: correct grammar error
Fixes golang/go#61854

Change-Id: Ia53bb95150901ccecf038962577e9eaa30755f16
Reviewed-on: https://go-review.googlesource.com/c/website/+/517255
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-08 20:04:58 +00:00
Koya IWAMURA d6072af1f2 _content/doc: fix link in Go1.21 Release Notes
Change-Id: Iac71701b32ab529a0fa6f16fd711045093820112
GitHub-Last-Rev: cf450d727e
GitHub-Pull-Request: golang/website#238
Reviewed-on: https://go-review.googlesource.com/c/website/+/517115
Reviewed-by: t hepudds <thepudds1460@gmail.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: t hepudds <thepudds1460@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-08 19:06:12 +00:00
Eli Bendersky 5872eae16b blog: add Go 1.21 announcement
Change-Id: I66dab03d7ce4a2d5a8cbf759d77a50999a375e3a
Reviewed-on: https://go-review.googlesource.com/c/website/+/512055
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-08-08 15:50:49 +00:00
Michael Anthony Knyszek cbd53f2c11 _content/doc/go1.21.html: add note about panic nil behavior
For golang/go#25448.

Change-Id: I775ad6d8d8952da8fa94c39c44a2420501b63b57
Reviewed-on: https://go-review.googlesource.com/c/website/+/517036
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
2023-08-08 15:39:58 +00:00
Michael Anthony Knyszek 958dd998bd internal/history: add Go 1.21, remove release notes draft notice
Also, update the golangorg deployment to use the Go 1.21 release branch.

Fixes golang/go#58645.

Change-Id: Ic83bbd34da083fd0358e4e345fdb02781cab43d6
Reviewed-on: https://go-review.googlesource.com/c/website/+/517035
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-08 14:28:30 +00:00
Mauri de Souza Meneguzzo 315f653c94 _content/doc: copypaste.js included more than once
The copypaste js script is included twice, once in the site.tmpl and a second time in install.html.

Change-Id: I5ba7cefa0e4a9f209adebd0cda8c3f855dc40f3f
GitHub-Last-Rev: 6490c1773c
GitHub-Pull-Request: golang/website#235
Reviewed-on: https://go-review.googlesource.com/c/website/+/516415
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Nooras Saba‎ <saba@golang.org>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-08-08 00:31:44 +00:00
Prudhvi Krishna Chintala 2c2263031c _content: made content activated by mouse dismissible using ESC key
https://screencast.googleplex.com/cast/NTcyNjIwNDA4MTQ3MTQ4OHwxOTQwNzQyNS04ZA

Change-Id: I4c804d97c7485cf75ea16260a6d4143cf0a70f69
Reviewed-on: https://go-review.googlesource.com/c/website/+/516196
Reviewed-by: Neelesh Bodas <neelesh@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-08 00:25:38 +00:00
prudhvikrishna e98120d599 _content/css: fix for icon to appear in High Contrast Light Mode
https://screencast.googleplex.com/cast/NTUwNDM3ODE0NzQzODU5Mnw3ZDI4OTZhMy03ZA

Change-Id: Id0b179d91b9a099adc2af28ffa18b7eaa68b8508
Reviewed-on: https://go-review.googlesource.com/c/website/+/506677
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2023-08-07 21:06:47 +00:00
Dominik Honnef 4136cf8c34 _content/security/fuzz: tweak example for running file2fuzz
When running file2fuzz without any arguments it will read from stdin.
This might confuse users who copy the commands from the example,
expecting something to happen. Suggest running it with -h instead.

Change-Id: I50cc776af66af5126fb283dee228df644c6e340d
Reviewed-on: https://go-review.googlesource.com/c/website/+/401954
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Auto-Submit: Dominik Honnef <dominik@honnef.co>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Dominik Honnef <dominik@honnef.co>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-08-04 22:13:27 +00:00
David Chase 01ef4053a2 _content/doc: add CL 514997 to list in QUIC comment for go1.21.html
Change-Id: I9649bd9b02cb36b843acbe30b467de1ebfa52c38
Reviewed-on: https://go-review.googlesource.com/c/website/+/516135
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
2023-08-04 18:47:31 +00:00
David Chase 1f6ba5cfa8 _content/doc: add Go 1.21 release notes
Copied from the main Go repo at CL 515955.
Deleted there in CL 516075.

For golang/go#58645.

Change-Id: If91f782f6429a53cbc52e0e37fbad88fb80db006
Reviewed-on: https://go-review.googlesource.com/c/website/+/516095
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-08-04 18:16:34 +00:00
prudhvikrishna 7efaa41d53 _content: fix for screen reader to announce links open in new window.
Change-Id: Ic2498cf765722cb1d914c37a2b544ae1f4bd6e08
Reviewed-on: https://go-review.googlesource.com/c/website/+/512095
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-08-03 21:30:56 +00:00
luisglopez7777 80138e489b _content: add dark mode to go.dev/tour
Change-Id: I8fe87632b3f863fc80290537a428c884a232f280
Reviewed-on: https://go-review.googlesource.com/c/website/+/509116
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-03 13:41:10 +00:00
Dmitri Shuralyov 4c82633110 _content: fix gorebuild import path
Somehow I looked directly at the URL and thought whether it'd be better
for the https://pkg.go.dev/golang.org/x/build/cmd/gorebuild link
to be shortened to https://golang.org/x/build/cmd/gorebuild or not¹,
yet completely failed to notice that it said tools instead of build.
Whoops!

¹ The upsides are that it's shorter and lets the package stay in control
  for deciding what it's "home" is, but the downside is that in practice
  it has no effect and just adds an extra redirect.

Change-Id: I43b02a7eb6405a0b7700c522cdd6a7939bcf9f1c
Reviewed-on: https://go-review.googlesource.com/c/website/+/515240
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2023-08-03 04:27:01 +00:00
Russ Cox e5f882dc95 cmd/golangorg: fix CachedURL, update rebuild template
The "not modified" response code is 304, not 206. Oops.
Use named constants to avoid similar mistakes in the future.

Also update rebuild template to show more version information.

For golang/go#57120.
For golang/go#58884.

Change-Id: I2c3ddf25cede0b5a853fa971226463a997f168c7
Reviewed-on: https://go-review.googlesource.com/c/website/+/515455
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-08-03 04:10:03 +00:00
Russ Cox 1e75b26cba _content: add rebuild page with reproducible build information
We now have a command to reproduce Go builds posted on go.dev/dl.
Add a dashboard that people can check to see its results.
We should be able to link to this page from https://reproducible-builds.org/citests/.

For golang/go#57120.
For golang/go#58884.

Change-Id: I0bd1f9c26a9a003aa1f301125083195fdeb048b4
Reviewed-on: https://go-review.googlesource.com/c/website/+/513700
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-03 02:08:39 +00:00
Russ Cox c999d51337 _content: update for golang.org/x/example changes
golang.org/x/example/stringutil.Reverse moved to
golang.org/x/example/hello/reverse.String.
Update references accordingly.

Fixes golang/go#61722.

Change-Id: Ib041697bc1c5c40d2b6ccefc7550caaedf338b2d
Reviewed-on: https://go-review.googlesource.com/c/website/+/515238
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
2023-08-03 02:08:24 +00:00
Suzy Mueller 496c979d26 _content/doc/tutorial: fix vulncheck tutorial links
Fixes golang/go#61663

Change-Id: I46a4c0f74aa8c64b7d1eee73b9533c56f8ef8233
Reviewed-on: https://go-review.googlesource.com/c/website/+/514635
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Brandon Kessler <bkessler@google.com>
2023-07-31 22:49:54 +00:00
Cameron Balahan abdc8f0e80 Fixing an error in the way commands are displayed in the gonew blog post
Change-Id: Ic6893334e813a5e79c99a1561da977d9ae5e319c
Reviewed-on: https://go-review.googlesource.com/c/website/+/514555
Auto-Submit: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-31 18:53:44 +00:00
Cameron Balahan edbee6f9dd _content/blog: Adding blog post for gonew command
Change-Id: Idcb4569ac86831472f771302773e317f7b903581
Reviewed-on: https://go-review.googlesource.com/c/website/+/514475
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2023-07-31 18:03:31 +00:00
prudhvikrishna 60cac895de _content: fix for links to have underline on keyboard focus
Change-Id: I373e92ffe1f245eb0bd5b696d9885fe290f1b326
Reviewed-on: https://go-review.googlesource.com/c/website/+/506676
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
2023-07-28 18:03:51 +00:00
prudhvikrishna b424f0c6d0 _content/css: provide fix for text to meet the color contrast
requirements

https://screenshot.googleplex.com/8RiRhFfeua2HQM8.png
https://screenshot.googleplex.com/fTHSYz3NnJ7YPDN.png

Change-Id: I04d00b4468e93f93ea418cb11df01976b150fb80
Reviewed-on: https://go-review.googlesource.com/c/website/+/506375
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
2023-07-28 18:03:48 +00:00
Mauri de Souza Meneguzzo c860785947 _content: fix error preventing some features to load in dl page
There was an error when setting up the callback for page load in the /dl page, preventing some features to load properly. The error was due to some methods being invoked for the playground textarea field, that for this specific page is not in the dom.

Updated the logic for page load to wait for dom content loaded or check document.readyState since the page might be loaded already when we try to set up the callback.

Fixes: golang/go#61587

Change-Id: I82508a2661167af19b1b4375c66b46ae50c08617
GitHub-Last-Rev: 8415de173b
GitHub-Pull-Request: golang/website#234
Reviewed-on: https://go-review.googlesource.com/c/website/+/513315
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-07-26 20:21:15 +00:00
Todd Kulesza 5c08bf3ee6 _content/blog: add 2023 h2 survey blog post
Change-Id: Ib496be2ec4045eb47532502bb5cff04588960df4
Reviewed-on: https://go-review.googlesource.com/c/website/+/511661
Run-TryBot: Todd Kulesza <tkulesza@google.com>
Reviewed-by: Cameron Balahan <cbalahan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-25 16:28:50 +00:00
thepudds a9171478a6 _content/doc/contribute: make it clear a Gerrit account is required even when sending a GitHub PR
It's possible to read the current "Sending a change via GitHub"
section of the Contribution Guide as saying a Gerrit account
is optional when sending a GitHub PR.

Some of the friction listed by Bryan in discussion golang/go#61182
is likely the result of some GitHub users never registering for
Gerrit after they send their PR, such as:

  "A significant fraction of GitHub PRs are abandoned when
  the author does not respond to Gerrit comments"

This CL therefore attempts to make it clear a Gerrit account
is a requirement even when sending a PR via GitHub, which
might reduce a modest amount of friction.

See golang/go#61323 for additional background.

While we are here, we also suggest the PR author familiarize themselves
with Gerrit, which increases the likelihood of success for their
own PR, but also might help them eventually graduate to a pure Gerrit
workflow for future contributions or possibly open their eyes
to the benefits of doing basic gardening.

For example, starring and then following interesting CLs is a
great way to learn for a new contributor (but not as well known
a feature as it could be).

In addition, we add a link to the FAQs for the GitHub PR workflow,
which covers things like "why do I need a Google account for Gerrit?".

We also define the term "CL" and then purposefully use it. The
contribution guide currently does not use that term, but
some evidence suggests someone going through the GitHub PR workflow
can struggle a bit with the difference between the PR vs. the CL,
or generally be confused and ask questions like "what is a CL?".

(The Contribution Guide previously used the term "CL", but without
defining it. golang/go#18989 suggested defining the term,
though the resolution of that issue in CL 36564 instead
removed "CL" entirely from the contribution guide).

Fixes golang/go#61323

Change-Id: I7d16a8cfd357ec4dd441a6ca43fc2a0caf55cdfe
GitHub-Last-Rev: ce92b735e8
GitHub-Pull-Request: golang/website#232
Reviewed-on: https://go-review.googlesource.com/c/website/+/509019
Run-TryBot: t hepudds <thepudds1460@gmail.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-20 19:36:40 +00:00
prudhvikrishna 35ea40d93a _content: provide keyboard shortcut to avoid focus trap.
added 'Esc' key as shortcut to avoid focus trap for code editor in go   website.
https://screencast.googleplex.com/cast/NjM1MDM3ODI1MDUzNDkxMnwyMDllNGZlNi0yZA

Change-Id: I291505a335ddaa04fc440d2d3052e6b9a891f86f
Reviewed-on: https://go-review.googlesource.com/c/website/+/510875
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
2023-07-20 18:18:36 +00:00
Cherry Mui 9bc7ea507e _content/doc/install: mention GOOS=wasip1
Updates golang/go#58141.

Change-Id: I7cfa8045ad9d27f1cc97bffb4ee2ac1a8c79e7c1
Reviewed-on: https://go-review.googlesource.com/c/website/+/495535
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Achille Roussel <achille.roussel@gmail.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Tianon Gravi (Andrew) <admwiggin@gmail.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
2023-07-18 19:58:56 +00:00
prudhvikrishna 3335334ecb _content: provide skiplink to go website
added skiplink to skip over the navigation and header elements of the
page and go directly to the main content.

https://screencast.googleplex.com/cast/NjUzMzAxNTk2MzQzNTAwOHxmYjc5NGE4OS1iMQ

Change-Id: I58271abacfcd80a2e996e83c6ad7611711989e92
Reviewed-on: https://go-review.googlesource.com/c/website/+/508975
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-17 21:18:10 +00:00
prudhvikrishna 647c4b2c5a _content: fix for dropdown to not autoopen when receive focus
Change-Id: Iee3897aa4f5c1311141411ec44193751cb516e4d
Reviewed-on: https://go-review.googlesource.com/c/website/+/509857
Auto-Submit: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2023-07-17 15:45:47 +00:00
prudhvikrishna 57cac55d24 _content: make purpose of buttons clear to screen reader users
Fix to make screen reader users understand the purpose of Get started   and download buttons

Change-Id: Ia8c75721a57a503c8659db328343f4dd5ac98ed8
Reviewed-on: https://go-review.googlesource.com/c/website/+/506999
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Nooras Saba‎ <saba@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-17 15:40:36 +00:00
prudhvikrishna f7c0397718 _content: make purpose of link clear to screen reader users
Added fix for screen reader users to understand the
purpose of links.

Change-Id: I636f75bc334ac97f2bc2e88ad63c09b8e3bf8888
Reviewed-on: https://go-review.googlesource.com/c/website/+/507455
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Neelesh Bodas <neelesh@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Nooras Saba‎ <saba@golang.org>
Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com>
2023-07-17 15:40:23 +00:00
ariathaker 1314c885b7 _content/security: Added Best Practices to index
Added a link to the Security Best Practices guide to the go.dev/security page.

Change-Id: Ie5282d45f574ea2ea6cb4c501140d7cc27b415e7
Reviewed-on: https://go-review.googlesource.com/c/website/+/509715
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Brandon Kessler <bkessler@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
2023-07-14 13:38:24 +00:00
Brandon Kessler 92acdba308 Fixes the the govulncheck command to have the correct ./...
Change-Id: I6db7be6cc52af16df4e9a4cdaf7d2fc185ba3e98
Reviewed-on: https://go-review.googlesource.com/c/website/+/508923
Run-TryBot: Brandon Kessler <bkessler@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2023-07-13 16:46:50 +00:00
Julie Qiu 55b8547509 _content/blog: add govulncheck blog post
Change-Id: Ie33a23d8ebf82b21c1eec8128049274ba4e30d6a
Reviewed-on: https://go-review.googlesource.com/c/website/+/509295
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Brandon Kessler <bkessler@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-13 15:19:57 +00:00
Brandon Kessler b5d06d8355 Fixes a typo on the govulncheck tutorial
Typo causes an extra code block to appear

Change-Id: I0912c53e5ca5aed1a6435d61db6c16b7de239d8b
Reviewed-on: https://go-review.googlesource.com/c/website/+/509375
Run-TryBot: Brandon Kessler <bkessler@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-13 15:19:01 +00:00
ariathaker 2eb5f573e8 _content/security: add best practices guide
Added Security Best Practices guide for Go Developers.

Change-Id: I3e5da9f3fbf26e4a726849558a65adc6ba6cd97f
Reviewed-on: https://go-review.googlesource.com/c/website/+/509118
Run-TryBot: Julie Qiu <julieqiu@google.com>
Reviewed-by: Brandon Kessler <bkessler@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-13 13:59:17 +00:00
prudhvikrishna cef597aeee _content: fix heading level hierarchy
Change-Id: Icb333a465491af0c70bdfc5c1134a2c707711f12
Reviewed-on: https://go-review.googlesource.com/c/website/+/506997
Reviewed-by: Neelesh Bodas <neelesh@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com>
Reviewed-by: Nooras Saba‎ <saba@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-07-12 19:29:51 +00:00
Than McIntosh 01ff1375ee _content/doc/articles/race_detector: document windows C compiler version requirements
Add a note documenting the requirement (as of Go 1.21) on Windows that
the installed C compiler support mingw-w64 version 8 or later, which
provides libsynchronization.a.

Fixes golang/go#61058.

Change-Id: I891d7d32df41387e1671a1ec9bac722c47a68ee5
Reviewed-on: https://go-review.googlesource.com/c/website/+/508461
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Than McIntosh <thanm@google.com>
2023-07-11 18:19:51 +00:00
ariathaker 30c348fd11 _content/doc/tutorial: Added tutorials to index
Added the tutorials for govulncheck and VS Code Go to the table on the tutorial index page

Change-Id: Ib5d64fdfb7b92ed5769a421b8c2dfde38220794b
Reviewed-on: https://go-review.googlesource.com/c/website/+/508316
Reviewed-by: Brandon Kessler <bkessler@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-10 17:05:25 +00:00
ariathaker e791658b0c _content/security: Add tutorials to Security page
Added links for govulncheck tutorial and VS Code Go to security index page.

Change-Id: I49e2441ff62811604243e116788a235bab1fbb20
Reviewed-on: https://go-review.googlesource.com/c/website/+/508315
Run-TryBot: Julie Qiu <julieqiu@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
Reviewed-by: Brandon Kessler <bkessler@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-07 14:17:10 +00:00
Eli Bendersky 32a21a08d0 doc/faq: update out-of-date mention of gollvm
gollvm is mentioned elsewhere in the FAQ too, but this specific mention
seems out-of-date now given the state of the project.

Change-Id: I5be12faeaf9ea445fc4c28eecb7583fda0adb457
Reviewed-on: https://go-review.googlesource.com/c/website/+/507959
Reviewed-by: Than McIntosh <thanm@google.com>
Auto-Submit: Eli Bendersky <eliben@google.com>
Run-TryBot: Eli Bendersky <eliben@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2023-07-06 17:51:27 +00:00
ariathaker ea9861c44c _content/doc/tutorial: Added VS Code Go tutorial
Added tutorial on vulnerability scanning in IDE with VS Code Go, with images.

Change-Id: I68bbd5cd6d1bf277ac37f1fa1069eb09aef3fb04
Reviewed-on: https://go-review.googlesource.com/c/website/+/505776
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Brandon Kessler <bkessler@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-06-29 16:45:50 +00:00
Michael Pratt ef4c8eb0da _content/doc/pgo: update for Go 1.21
Fixes golang/go#60757.

Change-Id: Ifb56ce3f5bc944443bb023c0653ec3eb5680ef69
Reviewed-on: https://go-review.googlesource.com/c/website/+/506878
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2023-06-28 21:08:12 +00:00
Valentin Deleplace f1cf0b8cea _content: update A Tour of Go description
Fixes golang/go#59167

Change-Id: Ib433ac314e1ad58b6f0a74ca346e49e53834df95
Reviewed-on: https://go-review.googlesource.com/c/website/+/478395
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-06-28 20:49:08 +00:00
Russ Cox f4bac3ba7f _content: add brand guidelines page: https://go.dev/brand
In 2018 Google filed for a trademark on the new Go Logo
(https://go.dev/blog/go-brand) and the word Go in the context of
programming languages (more specifically "Computer programs and
downloadable computer programs, namely compilers and reference
libraries, that implement a statically typed, compiled computer
programming language for use in developing, building and managing
other software.")

Since then we have not provided clear guidance about the permitted
uses of the logo and the word mark Go. This commit adds that guidance,
written by Google's trademark counsel and based on the Open Usage
Trademark Guidelines 0.1.0 [1], adapted for the Go project. We also
adapted some high-level text from the Python Software Foundation's
excellent Trademark Usage Policy [2]. The guidance in this commit will
be served at https://go.dev/brand and linked at the bottom of the menu
under "Brand Guidance" where there is currently a link to the blog
post.

As it says in the new web page, in general, we want the word mark “Go”
and the Go Logo to be used freely to refer to the Go programming
language. It is explicitly not a goal to restrict the many excellent
uses of the word Go in projects today. Instead the goal is to
authorize those excellent uses properly, to avoid any confusion or
doubt about whether they are proper.

As it also says in the new web page, anyone with questions can email
them to trademark@golang.org, which forwards to me and a few other
people at Google, and we will do our best to answer them.

[1] https://openusage.org/trademark-guidelines/
[2] https://www.python.org/psf/trademarks/

Fixes golang/go#58412.

Change-Id: I82aca152a4f33140b6f05eacd256de0d0ee686e9
Reviewed-on: https://go-review.googlesource.com/c/website/+/506756
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
2023-06-28 14:34:57 +00:00
Jamal Carvalho cf517d8748 _content/css: hide cookie banner in print view
Fixes golang/go#60820.

Change-Id: I99943604c8588264f2898b0011b0135778a15628
Reviewed-on: https://go-review.googlesource.com/c/website/+/503879
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-06-21 19:52:22 +00:00
Eli Bendersky 9e8f1cd009 blog: Go 1.21 RC announcement post
Change-Id: I72b71b2b16d5c9e887563dfeae7cab08eeca360f
Reviewed-on: https://go-review.googlesource.com/c/website/+/502796
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
2023-06-21 19:29:42 +00:00
Michael Stapelberg cf309485de _content: fix quoting in toolchain.md
Change-Id: I49d34c68bcfc31f2ef7d715fbcf65962c942c8d0
Reviewed-on: https://go-review.googlesource.com/c/website/+/503955
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
2023-06-16 11:37:36 +00:00
cui fliter bd3c46f4f9 all: fix some typos
Change-Id: I3ccc952d423f43762853382c2f613995e096e695
Reviewed-on: https://go-review.googlesource.com/c/website/+/502775
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: shuang cui <imcusg@gmail.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2023-06-15 19:39:05 +00:00
Max Riveiro a9926fb5ae _content: fix broken Markdown links to /doc/toolchain
Change-Id: I2256da09dcbc20832c5f6c3eb48a884af8ad604a
GitHub-Last-Rev: fa7f86b3b4
GitHub-Pull-Request: golang/website#228
Reviewed-on: https://go-review.googlesource.com/c/website/+/503235
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2023-06-15 17:46:36 +00:00
Andrew Gerrand 781fb19f89 _content: fix anchors in toolchain.md
A couple of anchor hints were declared with parentheses instead of curly
braces.

Change-Id: If1032fbbe31bce0cd6417dae71d748f5ea5ca500
Reviewed-on: https://go-review.googlesource.com/c/website/+/502776
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Andrew Gerrand <adg@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
2023-06-14 03:51:26 +00:00
Russ Cox 65471dac0a _content: add https://go.dev/doc/toolchain
This documents the new toolchain selection and switching
for the forward compatibility work.

For golang/go#57001.

Change-Id: I0efdac6771018063446dd0db22013c5fd756bea4
Reviewed-on: https://go-review.googlesource.com/c/website/+/500775
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
2023-06-12 18:08:29 +00:00
Jamal Carvalho a124e5d2f0 _content/js: update jQuery
Fixes b/283279391.

Change-Id: I8415954ad62164ace1c6703f03ec8add86a1bee2
Reviewed-on: https://go-review.googlesource.com/c/website/+/500895
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-06-05 15:00:37 +00:00
Hana (Hyang-Ah) Kim c3387da412 _content/security/vuln: fix errors in vscode editor settings
And rearrange the caveats so people know the analysis is done locally.

Change-Id: I15a5265fa6ac4828bf33fbea9002676c75d3ad7b
Reviewed-on: https://go-review.googlesource.com/c/website/+/499922
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
2023-06-02 19:52:27 +00:00
Iman Rabbi cdf910f3bc _content/doc/tutorial: remove unused import "time"
`Time` was used by `math/rand.Seed` that is removed

Change-Id: I1d288694c5a92fb866d629d8de3d3cdfa79bbf48
GitHub-Last-Rev: 1485d39c3c
GitHub-Pull-Request: golang/website#226
Reviewed-on: https://go-review.googlesource.com/c/website/+/497835
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-05-24 22:38:27 +00:00
Iman Rabbi 6badb8a309 _content/doc/tutorial: remove unused import "time"
`Time` was used by `math/rand.Seed` that is removed

Change-Id: I8e7feadce9712bf6e541321187a64da9209660fa
GitHub-Last-Rev: f3ec60a3a4
GitHub-Pull-Request: golang/website#227
Reviewed-on: https://go-review.googlesource.com/c/website/+/497836
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2023-05-24 22:38:14 +00:00
Jamal Carvalho c284478a72 _content: fix download table overflow
Fixes golang/go#59949.

Change-Id: Ia0c633f935334ade7292d7b35e18315fa77e04b9
Reviewed-on: https://go-review.googlesource.com/c/website/+/498055
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-05-24 19:13:30 +00:00
Sean Liao f7341273fe _content/doc/tutorial: remove use of deprecated math/rand.Seed
Fixes golang/go#58958

Change-Id: I5ef84f2fd350e3048649cf281e8272e62b2fc052
Reviewed-on: https://go-review.googlesource.com/c/website/+/475275
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-05-24 04:09:16 +00:00
Carlos Amedee da863783d7 _content/e: add error links
Each Go compiler error has an associated Markdown file which lists
an explanation of the error as well as an example of what may cause
the error. The Markdown files are generated by the generrordocs.go
tool which is located in the main Go repository
($GOROOT/src/internal/types/errors/generrordocs.go).

Change-Id: Iab699bc995e9e25c6ff048ccbb71c62905b5e899
Reviewed-on: https://go-review.googlesource.com/c/website/+/493678
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Carlos Amedee <carlos@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
2023-05-24 00:29:00 +00:00
Dmitri Shuralyov d1f28970d1 internal/history: include ".0" in go1.21.0 and onwards
Now that proposal go.dev/issue/57631 is accepted, the upcoming major Go
release version will not omit its trailing zero component in "go1.21.0".
Update the behavior and documentation of Version accordingly.

Drop IsMajor and IsMinor since they would need to be updated but aren't
used anywhere. Instead, add MajorPrefix and use it to not break the
future Go 1.21 release notes link. We decided those release notes
document the entire release series, not just the first release,
so it needs to eventually stay as "/doc/go1.21" and not "/doc/go1.21.0".

For golang/go#57631.

Change-Id: I069d171354752e5123b7950c45581a236b304f95
Reviewed-on: https://go-review.googlesource.com/c/website/+/497497
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2023-05-23 19:24:18 +00:00
Jamal Carvalho 7f03d6853e _content: add cookie notification banner
Change-Id: I5bbdc9f7d685736ffddd5c5289c39c68c777088e
Reviewed-on: https://go-review.googlesource.com/c/website/+/492676
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Todd Kulesza <tkulesza@google.com>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-05-23 14:58:45 +00:00
Sean Liao c3f7ee19df _content/ref: note "go get" reject -mod flag
Fixes golang/go#44760

Change-Id: I09c7dcf4dc2b7185cfbbbab063d23bcdfbb1119d
Reviewed-on: https://go-review.googlesource.com/c/website/+/475715
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
2023-05-20 17:31:09 +00:00
Sean Liao 61f7636832 _content: link to definition of "first sentence"
Fixes golang/go#59206

Change-Id: Ib3b92614acbceb5452c2a5d08623cc2e6cf5b182
Reviewed-on: https://go-review.googlesource.com/c/website/+/496495
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-05-20 15:22:17 +00:00
Eli Bendersky b202069057 _content/doc: fixes to the table of contents
Move FAQ from the Modules section (where it doesn't belong), and remove
a stale header since a whole section exists about DB access.

Change-Id: If40e1ba2e606b4b2a4135aea5904a803b674b5b4
Reviewed-on: https://go-review.googlesource.com/c/website/+/496555
Run-TryBot: Eli Bendersky‎ <eliben@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cameron Balahan <cbalahan@google.com>
Reviewed-by: Todd Kulesza <tkulesza@google.com>
2023-05-19 20:51:49 +00:00
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
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
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
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
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 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
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
Frederick Mixell d82958ec8a _content: Doc index masonry layout
- converts existing doc index content into html sections
- uses css columns to create css only masonry layout

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

Change-Id: Iad7413bad2ad5aaeff9dfc6334f206177508acc4
Reviewed-on: https://go-review.googlesource.com/c/website/+/443698
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:31:32 +00:00
Frederick Mixell dbe961f9e2 _content: Help page update
- Adds new card style for help page

Screenshot: https://drive.google.com/file/d/11nT6QYZkgoCvvfwRkZVfV1Rrw74VEj9N/view?usp=sharing

Change-Id: Ie104b424ae2d837c9457b666a382f246122ef89e
Reviewed-on: https://go-review.googlesource.com/c/website/+/443695
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-03-09 19:30:29 +00:00
Tatiana Bradley 56e78bd8bc _content/security/vuln: update wording about x/vuln package
Change-Id: Icfa39682fd15401b59766ec1f60636a215371ba7
Reviewed-on: https://go-review.googlesource.com/c/website/+/475055
Run-TryBot: Tatiana Bradley <tatianabradley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2023-03-09 18:36:47 +00:00
Frederick Mixell e5eb2b8f5b _content: Learn page redesign
- redesign header
- moved sections into cards and reordered page
- Hooked up jump link layout but they're not matching functionality of pkg site yet

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

Change-Id: I7224840e8316909b98a97cf876813f111621d2a7
Reviewed-on: https://go-review.googlesource.com/c/website/+/445579
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-03-09 17:11:53 +00:00
Robert Griesemer 99c923a06b _content/blog: remove duplicate title in coverage blog post
Change-Id: I7a8280a2b391827abe987dbedeec291f8d20ba73
Reviewed-on: https://go-review.googlesource.com/c/website/+/474755
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-03-08 23:21:42 +00:00
Than McIntosh 9cb23231dc _content/blog: add integration test code coverage blog post
Add blog post on code coverage for integration tests.

Change-Id: I01cbdb1c242e45d33b6653fc6ac5ace4f1faa691
Reviewed-on: https://go-review.googlesource.com/c/website/+/474115
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
2023-03-08 18:42:43 +00:00
Ian Lance Taylor 04b0c86a1c doc/go1.20: mention -lresolv requirement for c-archive on macOS
For golang/go#58159

Change-Id: I4099bba337acdb82e61cddcf099aa4c1c464d387
Reviewed-on: https://go-review.googlesource.com/c/website/+/470856
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2023-03-02 03:32:16 +00:00
Eli Bendersky 0c70505c4f _content: fix StackOverflow link in the menu
The StackOverflow Go community is no longer active; replace by a link to
the [go] discussion tag.

Change-Id: I1435ff1df739717f30594e583412ecf587b848c2
Reviewed-on: https://go-review.googlesource.com/c/website/+/470815
Reviewed-by: Eli Bendersky <eliben@google.com>
Auto-Submit: Eli Bendersky‎ <eliben@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Eli Bendersky‎ <eliben@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2023-03-01 17:39:43 +00:00
Dmitri Shuralyov 034fa41514 _content/doc: update GOROOT/test invocation in contribution guide
The top-level test suite in $GOROOT/test is implemented as a normal
go test in the new internal/testenv package as of CL 463276. Update
the contribution guide accordingly.

Updates golang/go#56844.

Change-Id: I73bfa8e4fc7c35f63efdde42ddf3552b5a518136
Reviewed-on: https://go-review.googlesource.com/c/website/+/471895
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
2023-02-28 19:44:45 +00:00
Daniel Frederick Crisman 8bb4a56901 tour: added missing word "methods"
Missing word "methods" in fourth paragraph of screen "Choosing a value or pointer receiver".  Reads more clearly when what is being talked about is identified.

Fixes golang/tour#1352

Change-Id: I569f7ceed2e732c9e0485270828dcab387f86c71
GitHub-Last-Rev: b086ba8212
GitHub-Pull-Request: golang/website#197
Reviewed-on: https://go-review.googlesource.com/c/website/+/471315
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2023-02-27 11:50:42 +00:00
M Hickford 70f9a532c4 _content/doc/contribute: clarify that all API changes are significant
Text verbatim from 4fe2f9757f

Change-Id: I726960bac9f5e4e080bcb0cdadcfe7a58422b15d
GitHub-Last-Rev: e13cf8a9fc
GitHub-Pull-Request: golang/website#198
Reviewed-on: https://go-review.googlesource.com/c/website/+/471397
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: Matt Hickford <matt.hickford@gmail.com>
Reviewed-by: Matthew Hickford <hickford@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2023-02-27 07:31:09 +00:00
Roland Shoemaker cd7ff650d3 _content/security: update pre-announcement block
To include that we put CVE IDs in the pre-announcement email.

Updates golang/go#56547

Change-Id: I113873339c93e8a33e63d15a471b800beb09e390
Reviewed-on: https://go-review.googlesource.com/c/website/+/470757
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Roland Shoemaker <roland@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-02-23 22:27:06 +00:00
Jamal Carvalho 9033d87416 _content/doc/install: fix broken link to system requirements
Fixes golang/go#58464.

Change-Id: Id2477d488046977e2d1554f577b4c18f988d6583
Reviewed-on: https://go-review.googlesource.com/c/website/+/469975
Auto-Submit: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-02-23 15:59:13 +00:00
Daniel Frederick Crisman 2e65c647b0 tour: no deterministic note as 1.20 does rand seed
With go 1.20 "math/rand package now automatically seeds the global random number generator" (https://go.dev/doc/go1.20#math/rand) and we do not need the appengine specific note that the Go Playground environment for the tour programs is deterministic.

As the note is specific to the appengine version (i.e. it is already not shown in the Go offline tour) it should be fine to just remove the text.

Fixes golang/tour#1448

Change-Id: Ice84497dbe95c5e3e89fec2d44d4cb74bc2dd5be
GitHub-Last-Rev: b27bc7bf12
GitHub-Pull-Request: golang/website#194
Reviewed-on: https://go-review.googlesource.com/c/website/+/469575
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: Than McIntosh <thanm@google.com>
2023-02-22 16:47:37 +00:00
Warren Fernandes f2bd60d535 _content/doc/go1.20: add release note for new cookie.valid behavior
Fixes #58485

Add a release note documenting that Cookie.Valid ignores the
Cookie.Expires field when empty.

Change-Id: Ia0138dc2252c309c36ff774e30e4aa9a874bf1e5
GitHub-Last-Rev: 6355670ad0
GitHub-Pull-Request: golang/website#193
Reviewed-on: https://go-review.googlesource.com/c/website/+/468716
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Damien Neil <dneil@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
2023-02-22 15:48:26 +00:00
Jamal Carvalho 44086c137c _content: fix duplicate github icon
Fixes golang/go#58555

Change-Id: I36788aabbe09c4e5f343ae88d94392c202ff144f
Reviewed-on: https://go-review.googlesource.com/c/website/+/469815
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-02-21 19:19:35 +00:00
Frederick Mixell e0f28dd77b _content: All releases page update
This update is to the /dl page design.

- Page title updated
- Table updated to reflect design
- spacing/color adjustments to match design

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

Change-Id: Ifc7d8ad64b99e5ec44f4b2be657082ef20f30fa5
Reviewed-on: https://go-review.googlesource.com/c/website/+/442515
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2023-02-21 15:50:18 +00:00
ariathaker 6d3537d059 _content/doc/tutorial: update fuzzing tutorial
Update the fuzzing tutorial based on results from the UXR study to:

-Link to further documentation
-Add explanation of -fuzztime and other testing flags
-Explain fuzzing output terms like "new interesting"
-Improved clarity on some tutorial steps re: copy/pasting

Change-Id: Ia781407130b87d3a79e2bbcc912ad7fa24028056
Reviewed-on: https://go-review.googlesource.com/c/website/+/464020
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alice Merrick <amerrick@google.com>
2023-02-17 18:44:29 +00:00
Michael Pratt 07cbbd682a _content/blog/comparable: clean up useless {{raw}}
The template isn't doing anything here, we can just use HTML directly.

Change-Id: I9aef23bc6a920c57a983fa87e9147e9ea5ec4cb1
Reviewed-on: https://go-review.googlesource.com/c/website/+/469097
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-02-17 17:28:47 +00:00
Michael Pratt e752e375eb _content/blog/comparable: bypass < encoding
Markdown conversion converts < to &amp;lt;, but
golang.org/x/website/cmd/golangorg TestAll rejects pages containing
&amp;lt;. Manually override this conversion with {{raw}}.

Change-Id: I25756a52d69ac72e276741e812f8d30b9f9c5c8d
Reviewed-on: https://go-review.googlesource.com/c/website/+/469096
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-02-17 17:18:55 +00:00
Robert Griesemer dea5ec8226 _content/blog: add blog post on comparable constraint
Change-Id: I542154bb75d5685124f4cd901884cf0391bf310d
Reviewed-on: https://go-review.googlesource.com/c/website/+/467115
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
TryBot-Bypass: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
2023-02-17 16:37:43 +00:00
Michael Pratt 3fc36b61c2 _content/doc/pgo: correct sample index requirements
The current requirement is completely wrong. In 1.20, we unconditionally
look at sample index 1, which should either be samples/count or
cpu/nanoseconds (they have the same semantic meaning).

For golang/go#58292 (hopefully in 1.20.1), we are correcting this to
pick the first index. I am omitting describing this slight version
discrepancy due to lack of space, but I could be convinced to add it.

For golang/go#58292

Change-Id: I24bb125db50a254b18c3f5f21db0c7fdc2125229
Reviewed-on: https://go-review.googlesource.com/c/website/+/466515
Reviewed-by: Frederic Branczyk <fbranczyk@gmail.com>
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-02-15 21:42:12 +00:00
Frederick Mixell 78a220a4fa _content: Breadcrumbs added to children pages.
Added to all doc children page with doclayout.
Added to Why Go pages.
Added to Security pages.

Video of Changes:
https://drive.google.com/file/d/1wX9e9K9H9wPTaLLQHh15-cWzMTMRr9DO/view?usp=sharing

Change-Id: I0fbf8e925e7fa357762d8eebd2bf13d561d49d86
Reviewed-on: https://go-review.googlesource.com/c/website/+/432775
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-02-14 18:22:49 +00:00
Frederick Mixell 6e1dd4f006 _content: qa updates play page
- adds dark mode functionality for the community menu
- adds 'overflow: auto;' over 'overflow: scroll;' for play page about modal to prevent ghost scroll bars on certain devices.

Change-Id: I175f21aa06b47bd590010551e8bd3757993bea96
Reviewed-on: https://go-review.googlesource.com/c/website/+/453795
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-02-14 17:07:04 +00:00
Tatiana Bradley d7a0e24020 _content/security/vuln: improve documentation on escaped module paths
Fixes incorrect reference to "EncodePath" and makes description of
each endpoint more precise.

Change-Id: I1af91dff12a626a75184ce8f0d7bc3e648ae1333
Reviewed-on: https://go-review.googlesource.com/c/website/+/467775
Reviewed-by: Tim King <taking@google.com>
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-02-13 20:41:52 +00:00
Ankit Verma 8a2a291fba _content/css: fix content aside section overlapping with footer
Fixes golang/go#58134

Change-Id: Ie2ef4d2b32d2f9eb834e0d7f909efecda4c08331
GitHub-Last-Rev: 8914d0f4f3
GitHub-Pull-Request: golang/website#190
Reviewed-on: https://go-review.googlesource.com/c/website/+/464015
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
2023-02-10 15:16:31 +00:00
Michael Pratt a1c9012b54 _content/blog: add PGO preview blog post
Change-Id: Iba285a7d5fabcc69c787c14445a69213b2bd0672
Reviewed-on: https://go-review.googlesource.com/c/website/+/466136
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-02-08 16:54:15 +00:00
blackfalcon 1d3e58623b _content/doc: fix parseVersionNumber to handle versions without patch
As of go1.20, when visiting https://go.dev/doc/install, the download button shows no version and with text: `Download ()`.

Previously the function expected the argument `string` being passed as in the form: `go1.17.3.linux-amd64.tar.gz`.
with go1.20 the file name becomes `go1.20.linux-amd64.tar.gz` with no patch number.

This merge request fix the regex used to parse the version number and return the intended version of `1.20`

Change-Id: I2fd109a030ed940cd8cd4d5e8924f026f5b8f4be
GitHub-Last-Rev: 68fb7856ee
GitHub-Pull-Request: golang/website#192
Reviewed-on: https://go-review.googlesource.com/c/website/+/465415
Run-TryBot: Suzy Mueller <suzmue@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
2023-02-07 22:09:57 +00:00
stepbystep2 c0d7b93e00 _content/solutions/webdev.md: fix URL of "Using Go in government" link
Change-Id: Ia27e18e5dc140b6da27cf78c8c82991e92962ae3
GitHub-Last-Rev: 18beb5160a
GitHub-Pull-Request: golang/website#189
Reviewed-on: https://go-review.googlesource.com/c/website/+/453135
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-02-03 18:20:29 +00:00
Sean Liao c072c41b7c _content: replace opentracing with opentelemetry
OpenTracing has been deprecated/archived per their github/website.
Replace with the recommended replacement of OpenTelemetry.

Fixes golang/go#53036

Change-Id: Ic7106484ab9ca53e6f199eb48d275dd81ab0d63a
Reviewed-on: https://go-review.googlesource.com/c/website/+/421894
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
2023-02-03 18:20:11 +00:00
Sean Liao d7454c2ca8 _content/doc/modules: fix typos
Fixes golang/go#50291

Change-Id: Id6bec449991de4ca0fb075ab534652b23266ee93
Reviewed-on: https://go-review.googlesource.com/c/website/+/373854
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: hopehook <hopehook@golangcn.org>
Run-TryBot: hopehook <hopehook@golangcn.org>
2023-02-02 21:55:24 +00:00
Vladimir Varankin 60ed43b1ad _content/doc/go1.20: fix reference to mutex block time metric
Refer to https://pkg.go.dev/runtime/metrics#hdr-Supported_metrics for the correct metric name

Change-Id: I7d29ddcd0bbfc4333a4fe217dc788c090c45a001
GitHub-Last-Rev: abf032f758
GitHub-Pull-Request: golang/website#191
Reviewed-on: https://go-review.googlesource.com/c/website/+/464755
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
2023-02-02 15:57:15 +00:00
Michael Anthony Knyszek db2fdac311 _content/doc: remove strings.Clone from Go 1.20 release notes.
bytes.Clone was added in Go 1.20, but strings.Clone was added in Go
1.18. The extra line seems to be a copy-paste error.

Fixes golang/go#58234.

Change-Id: I31194e54485e1f081b923544d107cc3fe851303c
Reviewed-on: https://go-review.googlesource.com/c/website/+/464775
Auto-Submit: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
2023-02-02 15:26:38 +00:00
Robert Griesemer d923af4f56 _content/blog: fix link
Change-Id: Ibba143ab2f91f76832d2c3a37f216f5cfc443ac6
Reviewed-on: https://go-review.googlesource.com/c/website/+/464021
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
2023-02-01 21:21:40 +00:00
Michael Pratt 30aebd78d9 _content/doc/go1.20: add link to PGO user guide
For golang/go#55022.

Change-Id: Ib2420c000dd0d6e7e272e217473e4ec192d4c730
Reviewed-on: https://go-review.googlesource.com/c/website/+/464477
Run-TryBot: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-02-01 20:48:25 +00:00
Robert Griesemer 1e63771f6e _content/blog: add go1.20
Announce Go 1.20 (to be posted with the release, planned for
beginning of February).

Change-Id: I7c8f057157357a1eae57915dda30abc68a99e915
Reviewed-on: https://go-review.googlesource.com/c/website/+/463103
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2023-02-01 20:10:24 +00:00
Michael Anthony Knyszek fb52c16fa6 internal/history: add Go 1.20, remove release notes draft notice
Fixes golang/go#54202.

Change-Id: I6043b8af0e3de7e46e5ab0e9dafe9c34cbd18236
Reviewed-on: https://go-review.googlesource.com/c/website/+/464175
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2023-02-01 18:35:18 +00:00
Valentin Deleplace 2fd05fd33b _content/project: fix link to the security policy
Fixes golang/go#57971

Change-Id: I12ee5231d6c6fadef1e82574e8d36beb8f1843c5
Reviewed-on: https://go-review.googlesource.com/c/website/+/463235
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2023-02-01 16:33:10 +00:00
Matthew Dempsky ea7ac3d37a _content/doc: update release notes about anonymous interface cycles
Elaborate on what this means, to help avoid users unnecessarily
worrying about whether their code will be affected.

Updates golang/go#56103.

Change-Id: Iab6eeb836e30905e507681fcc9ada94e9a3052dd
Reviewed-on: https://go-review.googlesource.com/c/website/+/464196
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
2023-02-01 01:02:00 +00:00
Michael Anthony Knyszek d4d615d895 _content/doc: add Go 1.20 release notes
Copied from the main Go repo at CL 462286.
Deleted there in CL 464055.

For golang/go#54202.

Change-Id: I9effbceb28325c4d0394b6931b5ba48f050ea380
Reviewed-on: https://go-review.googlesource.com/c/website/+/464075
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
2023-01-30 21:10:06 +00:00
Michael Pratt d3473f8251 _content/doc: add PGO usage guide
Add a primary documentation page for PGO, describing both the mechanics
of using PGO as well as best practices around collecting profiles.

Fixes golang/go#55022.

Change-Id: Icca1673ce54a091a5c7329b999e9b36d6bfea538
Reviewed-on: https://go-review.googlesource.com/c/website/+/463684
Run-TryBot: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-01-30 18:02:50 +00:00
Frederick Mixell 9abce52941 _content: Docs - linking update
- updates some links that were pointing to /dl to /doc/install
- Add "About Go Packages" link to the footer nav under "Packages"

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

Change-Id: I0d71b095a6a60b809a5bceff9cc5fe4a38d5eb91
Reviewed-on: https://go-review.googlesource.com/c/website/+/449415
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: David Chase <drchase@google.com>
2023-01-30 14:28:10 +00:00
Hana (Hyang-Ah) Kim 381c3ae6b2 _content/ref: mention '-reuse' flag in go mod download section
The section was copied from `go help mod download`.

Change-Id: Icca24cf1cbd4051332df21843ffd2ff818d77d2d
Reviewed-on: https://go-review.googlesource.com/c/website/+/463875
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
2023-01-27 22:38:43 +00:00
Valentin Deleplace 5f0cede926 _content/security/fuzz: fix transparent image for dark theme
Fixes golang/go#54954

Change-Id: Ie2db42fe32e791111486cbbe8f3a392934f4a174
Reviewed-on: https://go-review.googlesource.com/c/website/+/454875
Reviewed-by: 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>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
2023-01-24 15:30:23 +00:00
Alice Merrick 0258b1acda _content/blog/survey2023-q1: survey announcement
Announce the 2023 January edition of the Go Developer Survey.

Change-Id: If632432074d33c5682d7fc04a1b5149a0d2965bd
Reviewed-on: https://go-review.googlesource.com/c/website/+/461637
TryBot-Bypass: Todd Kulesza <tkulesza@google.com>
Reviewed-by: Todd Kulesza <tkulesza@google.com>
Reviewed-by: Cameron Balahan <cbalahan@google.com>
Reviewed-by: Alice Merrick <amerrick@google.com>
2023-01-18 17:30:06 +00:00
Frederick Mixell bf6873ed19 _content: Revert font to match site style
Reverting the new text styles for download page because text styles are global.

Reference: https://go-review.googlesource.com/c/website/+/441855/comment/4c6c0465_65e895ec/

Staging: https://change-461796-dot-goog-godev-qa.uc.r.appspot.com/go.dev/doc/install
! This staging doesn't have access to /dl functionality so there isn't text for the download button.

Change-Id: I132c56ec67a93f91a4a557703f6d27a7e6875024
Reviewed-on: https://go-review.googlesource.com/c/website/+/461796
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-01-13 20:56:53 +00:00
Zvonimir Pavlinovic 8abd7e4a50 _content/blog/vuln: point users to govulncheck json flag
This is done instead of pointing to vulncheck, decision on which still
has to be made.

Change-Id: I0ea010c5a9ee7107e8567ebf7b9b0b3371d5aca8
Reviewed-on: https://go-review.googlesource.com/c/website/+/459355
Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-01-04 21:29:09 +00:00
Zvonimir Pavlinovic 7257a64727 _content/blog/vuln: provide installation details for govulncheck
Fixes golang/go#57412

Change-Id: Id679631712b177c82f2ff2c15d141204e5ce47c5
Reviewed-on: https://go-review.googlesource.com/c/website/+/459255
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
2023-01-04 21:28:19 +00:00
Tatiana Bradley fc66a3dae1 _content/security: update PRIVATE track examples
Updates PRIVATE track description in the security policy
to include newer examples that follow the current process.

For golang/go#56485

Change-Id: Ie4a7a16535b5496dc472d4094ac945c569c4506d
Reviewed-on: https://go-review.googlesource.com/c/website/+/460055
Auto-Submit: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-01-03 16:05:46 +00:00
Frederick Mixell 7a2ed92457 _content: Sidebar template prop
- Adds desktop only sidebar options
- Turn on any doc template with "Sidebar" prop
- currently 2 sidebar choices "faq" or "bug"

Added to the following pages
- /doc/install
- /doc/faq
- /help

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

Change-Id: Ie106fdfeac464752789319aa87ffe0144dbc5c88
Reviewed-on: https://go-review.googlesource.com/c/website/+/441857
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2022-12-28 16:21:58 +00:00
Suzy Mueller e686abea87 _content/blog: fix broken images in survey 2022 results
A couple of images were not displaying correctly in the
2022 survey results for q2.

Fixes golang/go#57456

Change-Id: I93bac1eea6428d5cd0b0f45d13ca096637f06e9a
Reviewed-on: https://go-review.googlesource.com/c/website/+/459436
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-12-27 17:17:18 +00:00
Frederik Zipp 004bc941d6 _content/blog: fix broken link to design document in why-generics
The Markdown link to the design document contains an invalid
line break between the description and the URL, causing the
link to be rendered incorrectly.

Also mention that generics are referred to as "type parameters"
in the spec.

Fixes golang/go#57421

Change-Id: I2acef0af0fa54700768f00d0103f6ea161c87c39
Reviewed-on: https://go-review.googlesource.com/c/website/+/458795
Reviewed-by: Ian Lance Taylor <iant@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: David Chase <drchase@google.com>
2022-12-22 00:20:05 +00:00
Frederick Mixell 1272e65ac9 _content: Download install redesign
- Updates /doc/install design
- Updates /dl/ button style

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

Screenshot Doc Install: https://drive.google.com/file/d/1lhLf8DXq93F-u20i54eH9-CS5CzF9X_-/view?usp=sharing

Change-Id: I7ced9f5cdd6540382d3df23b87caadfd1c78cb1d
Reviewed-on: https://go-review.googlesource.com/c/website/+/441855
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
2022-12-21 13:33:19 +00:00
Anderson Queiroz cc976e8098 _content/doc: fix the contribute guide's query for issues on GitHub
It add 'go.dev/cl' on the GitHub issue tracker queries, and their links,
for issues with and without a suggested change.

Fixes golang/go#54546

Change-Id: I5e6852f39181e4169af0a67a409f11581c201138
Reviewed-on: https://go-review.googlesource.com/c/website/+/424974
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2022-12-16 15:59:47 +00:00
Than McIntosh 5360f253cd _content/testing/coverage: fix typo in reporting section
Fix typo in reporting section ("-i" and "percent" transposed).

Fixes golang/go#57268.

Change-Id: I96c49a1ec6f2ef8f4b07d84e0de4de8dc5c4ea5e
Reviewed-on: https://go-review.googlesource.com/c/website/+/456776
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-12-13 00:26:29 +00:00
Than McIntosh e35843a5b8 _content/testing/coverage: more minor edits to coverage section
Additional fixes to address comments/suggestions from @eliben.

Change-Id: I99e3c5338eb4f9667835c4e36ba044dd211de5f9
Reviewed-on: https://go-review.googlesource.com/c/website/+/456317
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Eli Bendersky‎ <eliben@golang.org>
2022-12-12 13:51:02 +00:00
Than McIntosh 9376d45ab3 _content/testing/coverage: add 'frequently asked questions' section
Add an FAQ section, as well as a main table of contents. Fix
a few minor formatting errors.

Change-Id: I553bfc11ea9e3abc1cad53d2f8a9832b9f2f68e9
Reviewed-on: https://go-review.googlesource.com/c/website/+/456058
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2022-12-09 17:07:10 +00:00
Than McIntosh b31b7a9e77 _content/testing/coverage: minor fixes to section on integration test coverage
Fix a couple of typos, reword a few paragraphs.

Change-Id: I3c9b3e691ff0c760a64966d5453dc635850d8f41
Reviewed-on: https://go-review.googlesource.com/c/website/+/455995
Reviewed-by: Eli Bendersky <eliben@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
2022-12-07 22:07:04 +00:00
Julie Qiu 929e34875b _content/security: fix typo
Issue 43786 is fixed to correctly refer to crypto/elliptic.

Change-Id: Id2c17b54de3c6b6eb9dff5d9e54cc4e70b54fa48
Reviewed-on: https://go-review.googlesource.com/c/website/+/455495
Auto-Submit: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-12-07 16:10:43 +00:00
Than McIntosh b24265ef95 _content: add section on integration test code coverage
Add a landing page with material on how to gather coverage
profiles from integration tests.

Updates golang/go#51430.

Change-Id: I79aed14a3a2f87ed15ed8c603f26dd2b1a1fb508
Reviewed-on: https://go-review.googlesource.com/c/website/+/455496
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
2022-12-07 15:53:18 +00:00
Frederick Mixell 6951227623 _content: Copy code snippets
- Updates pre style for doc articles
- Adds js for copying code snippets
- .CopyPaste class with button to work with the js

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

Video: https://drive.google.com/file/d/1PuPiSVbKZsOSadW-iVYI-aNmiiXpPn8B/view?usp=sharing

Change-Id: I2c244c6dd8e73b13c7ee8554d35919d0eb3e18c6
Reviewed-on: https://go-review.googlesource.com/c/website/+/441856
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-12-05 14:51:44 +00:00
Ian Lance Taylor 05f06604c6 _content/doc/articles/race_detector: cgo requires a C compiler
Fixes golang/go#56937

Change-Id: Ia9aca2c8f57e5f5641f40712df00d932578d13a5
Reviewed-on: https://go-review.googlesource.com/c/website/+/453435
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
2022-11-28 20:20:15 +00:00
Russ Cox 5934f13cc5 _content: change Go headline on go.dev
The old one (“Build fast, reliable, and efficient software at scale”)
is missing "simple" and "secure"; also "fast" and "efficient" are synonyms.

Change-Id: I50e6bb524e5095d88b4b71f644c3653da98712ff
Reviewed-on: https://go-review.googlesource.com/c/website/+/451297
Reviewed-by: Sameer Ajmani <sameer@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
2022-11-18 18:55:21 +00:00
Jamal Carvalho 859573a54b _content/css: invert github css for dark theme
Fixes golang/go#56559.

Change-Id: I3f8aa801ad3ef97686903dd1019f5df2f2ed9e3d
Reviewed-on: https://go-review.googlesource.com/c/website/+/450416
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
2022-11-15 20:11:29 +00:00
Russ Cox a7a6fd0f14 _content/doc/contribute: say GOROOT instead of GODIR
There's not much point to having a second name for this concept.
Everything else in the Go world calls it GOROOT.
This text can too.

Change-Id: Idb6082fbb6b9f6b133af8caeb4d0c071cba41fbc
Reviewed-on: https://go-review.googlesource.com/c/website/+/449455
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-11-10 18:44:29 +00:00
Russ Cox ff904cce94 _content/blog: post 13years
Post about Go's 13th birthday.

Also tweak the css to not background color fixed-width font in paragraphs.
Coloring whole <pre> blocks is fine, but coloring font changes is
typographically suspect and especially doesn't work well with our
convention in this web site of setting spaces inside phrases like "go test"
with variable-width spaces: <code>go</code> <code>test</code>.
It looks terrible to have a background highlight on that.

Change-Id: Ibbb3ad782d05f107fda572c269c24ef82e937d61
Reviewed-on: https://go-review.googlesource.com/c/website/+/449456
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-10 16:46:01 +00:00
Jamal Carvalho 0bdc4717c2 _content/css: improve playground page margins
Fixes golang/go#56518.

Change-Id: Ia9a55046873961b53b031b3ccbf764041ac29e5a
Reviewed-on: https://go-review.googlesource.com/c/website/+/447998
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-07 17:58:39 +00:00
Russ Cox 515b2069ab _content: update from CC-BY-3.0 to CC-BY-4.0 across the board
CC-BY-3.0 was shiny and new back in 2009, but CC-BY-4.0 is
generally preferred now. Update our CC-BY uses to CC-BY-4.0.

Not sure how we ended up with both /doc/copyright and /copyright,
but redirect /doc/copyright to /copyright.

Google lawyers signed off on the overall CC-BY-4.0 update
and Renee French signed off on the update of the gopher license.

Change-Id: Ica8f6d51775623eb38ac0a9cba18dbc0a82faea4
Reviewed-on: https://go-review.googlesource.com/c/website/+/447156
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-02 20:14:38 +00:00
Russ Cox de15dbe30d _content/doc/comment: document form of directive comments
Fixes golang/go#43776.

Change-Id: I3e18dbe5dfb0bca96a16203efd4c2a92636cf412
Reviewed-on: https://go-review.googlesource.com/c/website/+/442516
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-11-02 14:30:32 +00:00
Conor Britain 3cbdc17ec9 _content: update header nav with dropdowns and subnavs
Adds dropdown menus as well as fixed open/closed states. Adds submenus
to mobile header nav.

Change-Id: I0fdf6fd81008857b1ed28f0a8388de8e004eb722
Reviewed-on: https://go-review.googlesource.com/c/website/+/435522
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-10-31 17:00:13 +00:00
ryicoh 2a33458910 _content/play.tmpl: remove unnecessary spaces
Change-Id: I616f2afe682215e7a0cf353dafd7aa930bffd1fb
GitHub-Last-Rev: 42fd1858b0
GitHub-Pull-Request: golang/website#180
Reviewed-on: https://go-review.googlesource.com/c/website/+/425814
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Hajime Hoshi <hajimehoshi@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-10-24 17:50:24 +00:00
Hana (Hyang-Ah) Kim e3727af0b8 _content/ref/mod.md: add more retraction examples
Borrowed from
https://seankhliao.com/blog/12021-10-17-go-mod-retract/

Updates golang/go#55834.

Change-Id: I10883a74f16caad6b62937778b09286cfd2d76d5
Reviewed-on: https://go-review.googlesource.com/c/website/+/443400
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-10-21 16:53:05 +00:00
Sean Liao 37b0060c55 _content/ref: update module fields
Fixes golang/go#51163

Change-Id: If2390fba29786a97f789f99434ea282849264ade
Reviewed-on: https://go-review.googlesource.com/c/website/+/394818
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
2022-10-14 22:08:14 +00:00
Roger Peppe ba3d5cf5ff _content/{ref,doc}: remove -d from go get examples
The `-d` flag to `go get` in module mode is a no-op, as witness
the following comment from the code:

	// TODO(#43684): in the future (Go 1.20), warn that -d is a no-op.
	if !*getD {
		base.Fatalf("go: -d flag may not be disabled")
	}

Thus it's misleading, so remove it.

Change-Id: I0cf61d61b561d010d00f6044a5c07ca8f3bd117f
Reviewed-on: https://go-review.googlesource.com/c/website/+/439695
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-10-06 23:34:32 +00:00
Alberto Bertogli 6438748656 _content/ref: add missing `)` in "go.work files" documentation
Change-Id: I8a1f69214f4738bb4bab49200780d997a2948ce8
Reviewed-on: https://go-review.googlesource.com/c/website/+/431615
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
2022-10-06 14:23:57 +00:00
Michael Anthony Knyszek aff3925441 _content/blog: add Go 1.19 runtime blog post
Change-Id: Ie8f532ba0fbafbb8e2984552aadfe418d5d40a4d
Reviewed-on: https://go-review.googlesource.com/c/website/+/425182
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-09-26 18:23:45 +00:00
Jamal Carvalho 6f71e8c807 _content/js: adjust HaTS sample rate, disable on playground
Change-Id: Ia49852d76c03dd79f1904df415e849a0af3dd4d4
Reviewed-on: https://go-review.googlesource.com/c/website/+/432875
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
2022-09-22 17:52:25 +00:00
Zeke Lu 663b23d156 _content/doc/play: use the Nilakantha Series to compute pi
The Nilakantha Series converge more quickly comparing to the
Gregory-Leibniz Series.

Fixes golang/go#53598.

Change-Id: I9f2bbdde403b302d652171a76dddc623d2291712
GitHub-Last-Rev: 81327fe84c
GitHub-Pull-Request: golang/website#165
Reviewed-on: https://go-review.googlesource.com/c/website/+/414826
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Galvin Gao <galvingaoper@gmail.com>
2022-09-22 14:05:23 +00:00
Todd Kulesza 4e84c07618 _content/solutions: remove dead link
Target removed their Go case study, so we should remove our link to it.

Fixes golang/go#49960.

Change-Id: Ib8b3a1505fd4e8059da96d18c152e928722b0ce1
Reviewed-on: https://go-review.googlesource.com/c/website/+/432455
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-09-21 18:19:23 +00:00
Jang Rush cd84252011 _content/doc/comment: capitalization inconsistencies of unicode
In "unicode right quote", the capitalization of the word Unicode was inconsistent with other occurrences of the document.

Change-Id: Ib2c4a60e8ce39c81a1567078e9fc555c7b9dfbb2
GitHub-Last-Rev: 50238f14bf
GitHub-Pull-Request: golang/website#184
Reviewed-on: https://go-review.googlesource.com/c/website/+/431197
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2022-09-19 17:05:17 +00:00
cui fliter 9bc73d972c _content: fix some frontend label bugs
Change-Id: I68b0601ec156257ede7d65cc253f5c4f0ec7c69d
GitHub-Last-Rev: 1ccde8a810
GitHub-Pull-Request: golang/website#185
Reviewed-on: https://go-review.googlesource.com/c/website/+/431555
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
2022-09-19 15:22:08 +00:00
cui fliter 12004075ca _content: fix ineffective font colors
This string expected the font color to be dark blue, but it didn't take effect.

Change-Id: I213ade6439da87d426f4ba5e20cb06f768da0bed
GitHub-Last-Rev: 9ecbb6e818
GitHub-Pull-Request: golang/website#183
Reviewed-on: https://go-review.googlesource.com/c/website/+/431195
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
2022-09-19 15:21:25 +00:00
Tatiana Bradley dc3bd55b37 _content/security/vuln: fix vuln endpoint in database doc and add example
Change-Id: I650ab0394f14a4cb71ba0d587222373c3c4741d7
Reviewed-on: https://go-review.googlesource.com/c/website/+/431416
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
2022-09-16 18:54:35 +00:00
Tatiana Bradley 5526d80c26 _content/security/vuln: move CNA page overview to index
The CNA is related to the database but is also a separate entity, and
makes more sense to be linked to from the main landing page.

Change-Id: I8f392252831b5a662eedbfda78ba2256cea828ad
Reviewed-on: https://go-review.googlesource.com/c/website/+/431415
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2022-09-16 18:53:46 +00:00
Jamal Carvalho d31a06e2b1 _content,cmd: remove events section from homepage and get started page
The upcoming changes to the navbar will feature the meetup events
page. We can remove these sections instead of rebuilding the
integration with the GraphQL API.

Fixes golang/go#54796.

Change-Id: Ic29d9031f9359714d0b90fafbaff289a1ae9c877
Reviewed-on: https://go-review.googlesource.com/c/website/+/429577
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
2022-09-10 00:07:36 +00:00
Todd Kulesza 6de9b73a18 _content/blog: add 2022 survey results
Share the results of our 2022 Q2 Go Developer Survey.

Change-Id: I67399e94cba494f504f6642dde9b3a3b3793f993
Reviewed-on: https://go-review.googlesource.com/c/website/+/426534
Reviewed-by: Cameron Balahan <cbalahan@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-09-08 15:35:28 +00:00
Julie Qiu 7a72bbb9af _content/security/vuln: fix ellipsis
Change-Id: I051c5123754b071ad1058eaa790bb4c867af0752
Reviewed-on: https://go-review.googlesource.com/c/website/+/428616
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2022-09-06 15:25:54 +00:00
Julie Qiu 0e9bd2baa1 _content/blog: fix ellipsis in vuln.md
Change-Id: I150bbc459a22f95229b5de0d27e584609d38077d
Reviewed-on: https://go-review.googlesource.com/c/website/+/428615
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2022-09-06 15:15:08 +00:00
Julie Qiu 177345ddf0 _content/blog: add vuln.md
Change-Id: I1d16c6e3264466712157e28fdaff76c34ec54600
Reviewed-on: https://go-review.googlesource.com/c/website/+/427879
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
2022-09-06 14:39:20 +00:00
Julie Qiu 6d6543c16c _content/security/vuln: update wording
* Improve information for contributing and feedback
* Update text for link to Go Security Policy

Change-Id: I5a39849cbaed3a6fdf51001fdffbbd6871590d70
Reviewed-on: https://go-review.googlesource.com/c/website/+/427883
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
2022-09-06 14:10:21 +00:00
Julie Qiu e185a46da8 _content/security: add back to links for navigation
Also change the title of /security/vuln to "Go Vulnerability Management"
to match other titles, which all start with "Go", on the /security page.

Change-Id: Ifce99ed2d3cad2f3c33daeea058001efed2d2301
Reviewed-on: https://go-review.googlesource.com/c/website/+/427881
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Julie Qiu <julieqiu@google.com>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2022-09-06 14:09:47 +00:00
Julie Qiu f1b952de09 _content/security/vuln: remove unused svg
Also rename vuln_architecture.png -> architecture.png

Change-Id: I3333f5383df0aa284d2d045403c6084d81368e81
Reviewed-on: https://go-review.googlesource.com/c/website/+/427884
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-09-06 13:53:42 +00:00
Julie Qiu 4d241c02f0 _content/security: update content
Update the security page to remove links from headings and
improve wording for descriptions.

Change-Id: I87e751b9ef9044fb10121004c42e28b20fbddc37
Reviewed-on: https://go-review.googlesource.com/c/website/+/427882
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2022-09-06 13:37:30 +00:00
Julie Qiu 4929235449 _content/security/fuzz: moved from _content/doc/fuzz
Move all fuzzing content to the /security namespace.

Redirect /doc/fuzz to /security/fuzz.

Change-Id: I26d9e8b2eef5f37e3f31710d3b03673ef9e444db
Reviewed-on: https://go-review.googlesource.com/c/website/+/427880
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
2022-09-06 13:36:51 +00:00
Jamal Carvalho 1358680b36 _content/security/vuln: remove redundant govulncheck link
Change-Id: Ie12206dc4324c31d03949b04a5704e034e378866
Reviewed-on: https://go-review.googlesource.com/c/website/+/427878
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2022-09-02 20:03:26 +00:00
Tatiana Bradley 3a07d191d9 _content/security/vuln: update cna.md
Change-Id: I528ad0de45c53290c36f88eac3078a3e513647f7
Reviewed-on: https://go-review.googlesource.com/c/website/+/427877
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2022-09-02 17:37:31 +00:00
Jamal Carvalho ff55604715 _content/security: bug bash fixes
Change-Id: I9c2523ff970dc01893662b2b2dae3981202cac91
Reviewed-on: https://go-review.googlesource.com/c/website/+/427876
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2022-09-02 17:21:10 +00:00
Julie Qiu 0d0d05c4f7 _content/security/vuln: add getting started info
Change-Id: I5b32ebdbb8464af3c5eac5639ae43c7d5c2853c5
Reviewed-on: https://go-review.googlesource.com/c/website/+/427875
Reviewed-by: Brandon Kessler <bkessler@google.com>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
2022-09-02 16:01:29 +00:00
Julie Qiu c0cc19d739 _content/security/vuln: fix wording and link
Change-Id: Ife36c251882686f95a5dcc34906ddf94a859bedd
Reviewed-on: https://go-review.googlesource.com/c/website/+/427874
Reviewed-by: Brandon Kessler <bkessler@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-09-02 14:28:56 +00:00
Tatiana Bradley ca76f435c2 _content/security/vuln: fix typo and broken links in database.md
Change-Id: I8eb859e87a082620c832d4f35ac422163a4d3cfe
Reviewed-on: https://go-review.googlesource.com/c/website/+/427599
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Brandon Kessler <bkessler@google.com>
2022-09-01 22:19:18 +00:00
Tatiana Bradley 2454c0ca3a _content/security/vuln: update database.md
Change-Id: I7f4c74032b37000f8dcb46371b441908c6c92f69
Reviewed-on: https://go-review.googlesource.com/c/website/+/427598
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
2022-09-01 22:04:35 +00:00
Tatiana Bradley 0f8e74b2a5 _content/security/vuln: update link in index.md
Change-Id: I6c518332ccc15ddde797d2cb6d1c07cc08383876
Reviewed-on: https://go-review.googlesource.com/c/website/+/427597
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Brandon Kessler <bkessler@google.com>
2022-09-01 21:53:31 +00:00
Tatiana Bradley 8dad3a21c9 _content/security/vuln: use relative link in cna.md
Change-Id: I4dbd4420a26ca035160c6150ed2499667f4a4aee
Reviewed-on: https://go-review.googlesource.com/c/website/+/427595
Reviewed-by: Brandon Kessler <bkessler@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2022-09-01 20:12:14 +00:00
Tatiana Bradley cdf61fc48d _content/security/vuln: update index.md
Change-Id: Ie03a5faddd65c5afc1963b1794778199460ccc33
Reviewed-on: https://go-review.googlesource.com/c/website/+/427594
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Brandon Kessler <bkessler@google.com>
2022-09-01 20:12:07 +00:00
Tatiana Bradley ead9100c0a _content/security: update index.md
Change-Id: I00be3d71f1d832d3077c83bbf2f9ef301295bc55
Reviewed-on: https://go-review.googlesource.com/c/website/+/427478
Reviewed-by: Brandon Kessler <bkessler@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2022-09-01 19:03:54 +00:00
Tatiana Bradley 3c12c817e0 _content/security/vuln: update cna.md
Change-Id: I2f2d1b515e37f8179c25d9a4b6b6470a7a1653ef
Reviewed-on: https://go-review.googlesource.com/c/website/+/427477
Run-TryBot: Tatiana Bradley <tatiana@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Brandon Kessler <bkessler@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2022-09-01 18:12:01 +00:00
Julie Qiu 489a3a1de0 _content/security/vuln: redirect to govulncheck docs
Change-Id: I5fe9c57adf14511fee025b6d0106c535f19403e5
Reviewed-on: https://go-review.googlesource.com/c/website/+/427476
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Julie Qiu <julieqiu@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2022-09-01 15:25:30 +00:00
Julie Qiu 911390354f _content/security: update content
Change-Id: I96d0f694685208d429d3f09649461b6181e93e45
Reviewed-on: https://go-review.googlesource.com/c/website/+/426839
Reviewed-by: Julie Qiu <julieqiu@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Run-TryBot: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-09-01 03:39:21 +00:00
Julie Qiu afa0866f7a _content/security/vuln: rename api.md to database.md
Change-Id: I22e5a00b88549213e7b24a1412847ea0873ddf47
Reviewed-on: https://go-review.googlesource.com/c/website/+/426837
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
2022-08-31 19:32:14 +00:00
Julie Qiu 4dea5cf3c3 _content/security: move links and add redirects
Move all links to their new locations and add redirects for old links.

Change-Id: Ie0c7711a78e8be8917133a02f1ead63ef91c2e1a
Reviewed-on: https://go-review.googlesource.com/c/website/+/426835
Auto-Submit: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2022-08-31 14:13:41 +00:00
Mohamed Badawi b17f1df9f1 _content/docs/gc-guide.html: fix same page links
fix linking the same page sections links

Change-Id: Ice1d50cb6c17219323bc4ce978b6b754c2262ce6
GitHub-Last-Rev: 2a86391a06
GitHub-Pull-Request: golang/website#170
Reviewed-on: https://go-review.googlesource.com/c/website/+/420474
Run-TryBot: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Mohamed Badawi <mooga.cs2009@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
2022-08-30 18:32:16 +00:00
Sean Liao a45e5bbd5d _content: consistently use main module instead of root module
Fixes golang/go#52227

Change-Id: I9b5211a071eb92a8629d8f97c5f3842ae0ec6b37
Reviewed-on: https://go-review.googlesource.com/c/website/+/421895
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: hopehook <hopehook@qq.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: hopehook <hopehook@qq.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
2022-08-26 17:39:38 +00:00
Julie Qiu d43e1e69d8 _content/security/vulndb: add examples
Change-Id: Ic15fd13d9d7b61cfa2e768d6265ffc574bd0f5cf
Reviewed-on: https://go-review.googlesource.com/c/website/+/425374
Reviewed-by: Julie Qiu <julieqiu@google.com>
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 <julie@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-08-24 21:04:02 +00:00
Dan Kortschak 145d0c1d04 _content/doc/gc-guide: fix grammar
Change-Id: Icc2eed9fb6ede34e15757f781e9a4220a1ad426b
Reviewed-on: https://go-review.googlesource.com/c/website/+/417334
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: hopehook <hopehook@qq.com>
Reviewed-by: hopehook <hopehook@qq.com>
Reviewed-by: Joedian Reid <joedian@golang.org>
2022-08-19 21:56:10 +00:00
Jamal Carvalho af51caee77 _content: style theme defaults to system preference
The style theme matches pkg.go.dev behavior in respecting
the users preferred theme set by the system.

Change-Id: I1dab33bda043f054522f88f8e64c539e61934433
Reviewed-on: https://go-review.googlesource.com/c/website/+/424834
Reviewed-by: Suzy Mueller <suzmue@golang.org>
2022-08-19 16:14:45 +00:00
Julie Qiu 0a456fc0ba _content/security/vulndb: add goos/goarch to API docs
Change-Id: Ib0eef10f72f2e4befc367d6045d3cc844ddda9ab
Reviewed-on: https://go-review.googlesource.com/c/website/+/424875
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>
Run-TryBot: Julie Qiu <julieqiu@google.com>
2022-08-19 13:53:15 +00:00
George Looshch 4a20090bc9 _content/css: fix content auto-scrolling on selection
Fix content auto-scrolling when it’s being selected and the cursor is
less than 4.6875rem from the top border of browser view window

Fixes golang/go#52917

Change-Id: Ibf077bbeb3ba57ee425b1965e9e833ba66d11383
Reviewed-on: https://go-review.googlesource.com/c/website/+/409014
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Zeke Lu <lvzecai@gmail.com>
Reviewed-by: Soham Dongargaonkar <sohamssd@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2022-08-17 19:15:44 +00:00
Julie Qiu 718fe53483 _content/security/vulndb/api: update content
For golang/go#54490

Change-Id: I84459243f30252402ad1494e0dac75ebdab4eae2
Reviewed-on: https://go-review.googlesource.com/c/website/+/424180
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-08-17 13:01:59 +00:00
WANG Xuerui f43facd506 _content/doc/install/source: mention GOARCH=loong64
Fixes golang/go#54350.

Change-Id: Idf290556c7a9f42c42dbdddaeb7f90896aaa5cba
Reviewed-on: https://go-review.googlesource.com/c/website/+/421575
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Meng Zhuo <mzh@golangcn.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Meng Zhuo <mzh@golangcn.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-08-14 00:42:30 +00:00
WANG Xuerui 50abfb8fe8 _content/doc/install/source: reorder the table of GOOS/GOARCH combinations
In particular, reorder the GOOS=linux entries so that the GOARCH is
sorted in the same order as in the Introduction section.

Change-Id: I3a4753888f023211e9fda77e341462dc3d87d06e
Reviewed-on: https://go-review.googlesource.com/c/website/+/421574
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-08-14 00:17:45 +00:00
Julie Qiu 55e51100fd _content: add link to CNA policy
Change-Id: Ia73a66e50bfd521113470a327814d5bc0f18e737
Reviewed-on: https://go-review.googlesource.com/c/website/+/422755
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2022-08-11 18:34:01 +00:00
Tatiana Bradley d849247f0e _content/security/vulndb: add instructions for requesting a CVE ID
Change-Id: Id5bbdc7697ace66a77d5e9fbc08eb21b1d3e4c47
Reviewed-on: https://go-review.googlesource.com/c/website/+/422495
Run-TryBot: Tatiana Bradley <tatiana@golang.org>
Auto-Submit: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2022-08-09 23:58:55 +00:00
Tatiana Bradley 273f207302 _content/doc/devel, internal/history: call out "security" in relevant release notes
The security team found a few release notes that did not contain the
word security but included one or more security fixes. This CL updates
the relevant release notes.

Change-Id: I7cf4aeef65e5328a936c951781cd4f0bd54429d7
Reviewed-on: https://go-review.googlesource.com/c/website/+/421426
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Tatiana Bradley <tatiana@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2022-08-09 21:50:07 +00:00
Zvonimir Pavlinovic baa74db9e3 content/security/vulncheck: document more limitations
vulncheck currently does not detected vendored vulnerabilities nor it
provides silencing vulnerabilities.

Change-Id: Ic8511e8732147697d738cf9b9e3464cd30dd60d4
Reviewed-on: https://go-review.googlesource.com/c/website/+/421475
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-08-09 16:57:52 +00:00
Michael Anthony Knyszek 55c29d8858 _content/doc/gc-guide: deemphasize STW collection in GC model
Based on feedback from aktau@google.com, it's more confusing to state it
as part of the model and then take it back later. At this point, it's
not really all that important to anything but the visualization, so this
CL moves the STW assumption to just the description of the
visualizations.

Change-Id: I345ae215e3ff06ad791044e00425472552df8022
Reviewed-on: https://go-review.googlesource.com/c/website/+/421054
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Nicolas Hillegeer <aktau@google.com>
2022-08-04 22:17:05 +00:00
Michael Anthony Knyszek 3f2af1efd5 _content/doc/gc-guide: incorporate additional feedback
From comments by aktau@google.com on CL 414397.

Change-Id: Ic6a5edbd477dbf6c54b996e652056e2189f727ae
Reviewed-on: https://go-review.googlesource.com/c/website/+/417649
Reviewed-by: Nicolas Hillegeer <aktau@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Lasse Folger <lassefolger@google.com>
2022-08-04 19:46:20 +00:00
Robin Eklind 8779dfb355 doc: fix typo in comment.md
Removed duplicated "package json" string.

Change-Id: Iafd2efadd420d05497d95b4ada4fcae78a1ddae8
GitHub-Last-Rev: dd0b34ef36
GitHub-Pull-Request: golang/website#172
Reviewed-on: https://go-review.googlesource.com/c/website/+/421034
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2022-08-04 18:16:37 +00:00
aoba eb405f2669 _content/blog/when-generics.md: fix typo in code
Thank you for great article!
 I found a small typo on example code. So, I fixed it!
`cmp` → `less`

Change-Id: I2b595b4be12fe8cf60c69ed66902369378f5ca9c
GitHub-Last-Rev: cc594d707c
GitHub-Pull-Request: golang/website#171
Reviewed-on: https://go-review.googlesource.com/c/website/+/420734
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
2022-08-03 19:52:33 +00:00
Russ Cox 9488f16739 _content/blog: add go1.19
Announce Go 1.19 (to be posted with the release, planned for August 2).

Change-Id: I82dcde83baca44bf3f4ff2fc28126c3a7a445dbc
Reviewed-on: https://go-review.googlesource.com/c/website/+/420014
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
2022-08-02 17:13:58 +00:00
Dmitri Shuralyov 7bdd498251 internal/history: add Go 1.19, remove release notes draft notice
Fixes golang/go#51400.

Change-Id: I2363d68eab107631ad269cc2d6cdb70ecdb4a6b2
Reviewed-on: https://go-review.googlesource.com/c/website/+/420815
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
2022-08-02 16:29:00 +00:00
Matthew Dempsky 3af8cad8bd _content/doc: remove mention of -installsuffix removal
We ended up reverting CL 415236 due to a Google-internal dependency,
but I didn't update the doc fix CL before it was submitted.

Updates golang/go#51225.

Change-Id: I36142e6ea3f15251c54a7c3a6ddb953f9c18775f
Reviewed-on: https://go-review.googlesource.com/c/website/+/420614
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2022-08-01 18:43:39 +00:00
Dmitri Shuralyov 4504da45ad _content/doc: add Go 1.19 release notes
Copied from the main Go repo at CL 417534.
Deleted there in CL 420418.

For golang/go#51400.

Change-Id: I32b1464638f3aa8fee6dad65aa8331da0c33c50c
Reviewed-on: https://go-review.googlesource.com/c/website/+/420417
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2022-08-01 17:51:25 +00:00
Max Riveiro 0e082e42a9 _content/security/vulndb: fix links to package docs
Change-Id: Id2011a0261d14f859356215297c6bdf600df4a0f
GitHub-Last-Rev: a01cd2b2f3
GitHub-Pull-Request: golang/website#167
Reviewed-on: https://go-review.googlesource.com/c/website/+/417696
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2022-07-27 21:45:08 +00:00
Russ Cox 70d30b4158 _content: add AUTHORS page, and CONTRIBUTORS redirect
Now that there's no AUTHORS file, go.dev/AUTHORS will become a dead link
as of Go 1.19, and tip.golang.org/AUTHORS is already one.
Write a page to keep those links not 404-ing.

Same is true for CONTRIBUTORS; redirect to AUTHORS.

For golang/go#53961.

Change-Id: I17cc932f3f870bf4b9970151ead4b5e72a94845b
Reviewed-on: https://go-review.googlesource.com/c/website/+/418932
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-07-25 21:24:22 +00:00
Russ Cox 25f6a5439c all: remove references to AUTHORS, CONTRIBUTORS files
Also fix unnecessary capitalization in blog/experiment.md.

For golang/go#53961.

Change-Id: Ief95e4cdd2085c081a4ad97ffc8678db75bfce69
Reviewed-on: https://go-review.googlesource.com/c/website/+/418930
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-07-22 15:53:15 +00:00
Hana (Hyang-Ah) Kim 2cd3ef36e8 _content: stop the download button from opening /dl in a new tab
Download button opened the dl page in a new tab because previously, the download page was in a separate host (golang.org). Since now go.dev and golang.org are unified to one site, it makes sense to avoid a separate tab.

Fixes golang/go#53637

Change-Id: Ie8c9fd6741be9be154bb375082aff42f7b7d1720
Reviewed-on: https://go-review.googlesource.com/c/website/+/416177
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2022-07-19 20:50:36 +00:00
Julie Qiu 8e8269e7ba _content: update go.dev/security page
There is now a main documentation page for all things security.

Change-Id: Ie85a9a5d642df6b70c7a821d4a83cc14dbb5e6b4
Reviewed-on: https://go-review.googlesource.com/c/website/+/418214
Reviewed-by: Julie Qiu <julieqiu@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
2022-07-19 16:46:13 +00:00
Heschi Kreinick b04a5fd548 _content/assets: add logos and brand book
These are referenced from go-brand.md via short links, which I'll update
once this CL is deployed.

Change-Id: Iecd5d1a95bffa3fdd608e0691568cb7bda810225
Reviewed-on: https://go-review.googlesource.com/c/website/+/418114
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Heschi Kreinick <heschi@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2022-07-18 19:49:47 +00:00
Heschi Kreinick 2660036b40 _content/doc: host images used by diagnostics.html
These are the only files in their bucket and I'd like to delete it.

Change-Id: Id1857750de366569c3bcf0e031ba0fbe0955a7ca
Reviewed-on: https://go-review.googlesource.com/c/website/+/417653
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2022-07-18 19:12:50 +00:00
Michael Stapelberg fc61a7085a _content/doc/gc-guide: fix typos
Change-Id: I819d0ec7231a29c813a8a2cf77244cbdd8f698a7
Reviewed-on: https://go-review.googlesource.com/c/website/+/418054
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2022-07-18 14:17:25 +00:00
Michael Anthony Knyszek 8f0be5672e _content/doc/gc-guide: improve small-screen behavior of vis controls
Change-Id: I362304fca617673efcd57ef6ae028c2c9d0869f4
Reviewed-on: https://go-review.googlesource.com/c/website/+/417635
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
2022-07-14 19:26:51 +00:00
Michael Anthony Knyszek 16152460fb _content/doc/gc-guide: explicitly set font size for axis labels
Fixes golang/go#53850.

Change-Id: I0b9262391c992d03f316918775bff7b75baa009c
Reviewed-on: https://go-review.googlesource.com/c/website/+/417634
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-07-14 19:19:57 +00:00
Michael Anthony Knyszek cb841f4c22 _content/doc: add link to GC guide from /doc index
Change-Id: Iedd8c989bd5343dc5fb7109c927a516612d0ea97
Reviewed-on: https://go-review.googlesource.com/c/website/+/417155
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-07-13 16:33:15 +00:00