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

2618 Коммитов

Автор SHA1 Сообщение Дата
Michael Matloob dc220e6481 _content/doc/tutorial: fix mixup between "module" and "workspace"
The word "workspace" was intended to be used.

Fixes golang/go#67740

Change-Id: I942f3301eaaf8f3fc6eb8964d3ebe90503bdbc60
Reviewed-on: https://go-review.googlesource.com/c/website/+/590043
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
2024-06-04 15:27:29 +00:00
Dmitri Shuralyov bc501ffff7 cmd/golangorg: fall back to embedded content when _content is not nearby
If golangbuild is run from a directory other than x/website root or its
cmd/golangbuild directory, it's more useful to use the embedded content
than a directory that does not exist.

This was previously possible by explicitly setting the -content flag to
the empty string. This change makes it possible to leave the flag unset,
which can be handy for go run golang.org/x/website/cmd/golangorg@latest.

Change-Id: Id0e33515b15934fdfcd1cbe594ad4c7b969a1d21
Reviewed-on: https://go-review.googlesource.com/c/website/+/589936
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-06-03 18:50:37 +00:00
Hajime Hoshi abb9f5be80 _content/doc/gopher: update the license version
CC BY 4.0 is the correct version for Gophers.

Change-Id: I0f3b7d50a17f248fbf485f111b52eb703972dbfd
Reviewed-on: https://go-review.googlesource.com/c/website/+/588995
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Hajime Hoshi <hajimehoshi@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Auto-Submit: Hajime Hoshi <hajimehoshi@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2024-05-29 18:15:06 +00:00
Dmitri Shuralyov 3d551ff780 _content/doc: add go1.23.md placeholder
Add this file now so we can use the https://tip.golang.org/doc/go1.23
both before and after the release note fragments are merged, meaning
we won't need to tell people to abruptly stop looking at /doc/next and
start looking at /doc/go1.23 sometime in the next few weeks.

The /doc/next page may still be useful in some contexts where a moving
target URL works better than a fixed one, so leave it behind for now.

For golang/go#65614.

Change-Id: Ib28608f56b2a88b44e554bf24c04873f3ed6961b
Reviewed-on: https://go-review.googlesource.com/c/website/+/588057
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-05-24 15:26:34 +00:00
Dmitri Shuralyov e7879e0f78 cmd/golangorg: update App Engine runtime to Go 1.22
By now the supported and tested Go versions are Go 1.22 and 1.21.
Update the website deployment to start using the Go 1.22 runtime.
See https://cloud.google.com/appengine/docs/standard/lifecycle/support-schedule#go.

Change-Id: I376e36e8aa0f8128c1bcdce6a199c51f163e9c33
Reviewed-on: https://go-review.googlesource.com/c/website/+/587475
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2024-05-22 18:50:33 +00:00
Dmitri Shuralyov 89cd6982bc cmd/golangorg: add doc/next page to preview draft release notes
The improved release note process is being used starting with Go 1.23.
That means instead of a single doc/go1.23.html draft file in the main
Go repository, doc/next contains a set of release note fragments.
Having small, orthogonal files avoids merge conflicts, and a release
note test requires that release notes are written and included in the
same CL that's adding new APIs. As a result, the set of completed
release notes even before we enter the release freeze is greater than
ever before.

While it's possible to view those fragments using tip.golang.org
(e.g., by visiting https://tip.golang.org/doc/next), reading them
that way isn't practical. The relnote generate tool exists to merge
fragments into a complete Markdown document, and this tool will be
used when eventually moving a complete draft of Go 1.23 release notes
to x/website.

To aid the remaining work of completing the release note draft, this
change adds a dynamic /doc/next page to preview what the relnote
generate tool will produce. Combined with existing functionality of
the -tip flag, it makes https://tip.golang.org/doc/next display a live
preview of the checked-in release notes draft.

It can also be used to preview release note draft locally. For example,
if $HOME/gotip is a Go checkout where one is editing doc/next content:

go run golang.org/x/website/cmd/golangorg@latest -goroot=$HOME/gotip

Will serve a live preview at http://localhost:6060/go.dev/doc/next.
It can be slightly more convenient to refresh a browser without having
to re-run 'relnote generate'.

For golang/go#64169.
For golang/go#65614.

Change-Id: Ie1d3650076421a95a691dd84a554a113dd1187b1
Reviewed-on: https://go-review.googlesource.com/c/website/+/587436
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2024-05-22 18:44:50 +00:00
Dmitri Shuralyov 9e5eadff51 all: update x/build dependency
Pull in latest changes to x/build/relnote. Its functionality
will be used when rendering the tip.golang.org/doc/next page.

For golang/go#64169.

Change-Id: I534dfb2f9b19495488e6025e057a39fea1f0a8d4
Reviewed-on: https://go-review.googlesource.com/c/website/+/587435
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2024-05-22 18:44:46 +00:00
Tatiana Bradley ae47470217 _content/doc/security/vuln: document the review_status field for vulns
Adds documentation explaining how to interpret the new
ecosystem_specific.review_status field.

Change-Id: I537c3ab9e205b7a5c840fd4b01197ed152f8ccc1
Reviewed-on: https://go-review.googlesource.com/c/website/+/586495
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
2024-05-20 16:06:26 +00:00
Ian Lance Taylor 03b6662d11 _content/blog/randv2: correct release number in summary
Fixes golang/go#67322

Change-Id: Iabb9a24533705db7cc50a9c16aee1005cbb5a62f
Reviewed-on: https://go-review.googlesource.com/c/website/+/585035
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
2024-05-18 03:36:57 +00:00
Russ Cox 8589d49711 _content/ref/mod: document godebug directive
For golang/go#65573.

Change-Id: Ie6b92586d203dd921d86084da84edc4706143fd8
Reviewed-on: https://go-review.googlesource.com/c/website/+/584218
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
2024-05-15 16:12:29 +00:00
Michael Oguidan 15db8a6e56 _content/doc/install.html: eliminate redundant link
I have just remove this paragraph:
"Don't see your operating system here? Try one of the other downloads." Some newbies are confuse by this so better remove it because it leads to the same page to  "Download (1.20.6)".

Fixes golang/go#61311

Change-Id: I9402dad754b9945b0c0dcc284eb6e8cdd229f999
GitHub-Last-Rev: 5b2e2a6b95
GitHub-Pull-Request: golang/website#231
Reviewed-on: https://go-review.googlesource.com/c/website/+/509115
TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
2024-05-15 14:55:51 +00:00
Cherry Mui 4bde6d136c internal/history: document Go 1.22.3 and 1.21.10 releases
Change-Id: I2896372623027eceb1edfd9fea0cc8241295dff0
Reviewed-on: https://go-review.googlesource.com/c/website/+/583777
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-05-07 16:10:44 +00:00
Russ Cox 5a7bd31aaa blog/chacha8rand: give perf graphs a white background
They have black text and black on very dark gray doesn't
look that great in dark mode (although it does seem in keeping
with the gestalt of dark mode).

Also fix coloring of links containing <code> text, by removing
color override for <code>. Otherwise only the non-code parts
of the links shows up blue, which is very confusing, like in

<a><code>math/rand</code>'s <code>Read</code></a>

where only the 's shows up blue.

Change-Id: I345fd1ffaaa7e20804b31adcdab8d3d3d4acb924
Reviewed-on: https://go-review.googlesource.com/c/website/+/583835
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
2024-05-07 15:28:33 +00:00
Gopher Robot 2e9b327706 go.mod: update golang.org/x dependencies
Update golang.org/x dependencies to their latest tagged versions.

Change-Id: I673f037a2a647f3db07160cb11727370c091e60e
Reviewed-on: https://go-review.googlesource.com/c/website/+/583618
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-05-06 18:57:17 +00:00
Todd Kulesza e85b6d27ad _content/blog: update developer survey dataset release plan
Change-Id: I611ca3350146973485c4b8db43d1943eb072f882
Reviewed-on: https://go-review.googlesource.com/c/website/+/583155
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Todd Kulesza <tkulesza@google.com>
Reviewed-by: Cameron Balahan <cbalahan@google.com>
2024-05-03 19:49:24 +00:00
Michal Bohuslávek 2f93ebbd8d chacha8rand: fix typos
Change-Id: I01f7acc7e5170f88cf57581a42da688dc9b4a149
Reviewed-on: https://go-review.googlesource.com/c/website/+/583015
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2024-05-03 16:50:02 +00:00
Russ Cox 9abcd18054 randv2: link to chacha8rand
Change-Id: I84e919fdaeda92b1be6ab8b269e9e7a0793d3614
Reviewed-on: https://go-review.googlesource.com/c/website/+/582816
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Peter Weinberger <pjw@google.com>
2024-05-02 18:46:49 +00:00
Russ Cox 8f0bd1b130 chacha8rand: new blog post
Change-Id: I751e1cb29f1053665a275fed95dfe3f47798c45c
Reviewed-on: https://go-review.googlesource.com/c/website/+/582795
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-05-02 15:25:05 +00:00
Russ Cox 7a08a5364f randv2: new blog post
Change-Id: Ie02ae3ce5f33fe629768584b9ed516afef6cde67
Reviewed-on: https://go-review.googlesource.com/c/website/+/582559
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-05-01 15:22:20 +00:00
qiulaidongfeng ceae1e129a website/_content/doc: add goroot tag example
Fixes golang/go#66448

Change-Id: I3f5e0f277c905381d55c5e95480f51f3004ee47a
GitHub-Last-Rev: 967514323b
GitHub-Pull-Request: golang/website#276
Reviewed-on: https://go-review.googlesource.com/c/website/+/573735
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Cherry Mui <cherryyz@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2024-04-22 15:49:44 +00:00
cuishuang 8f868aaaa4 internal/screentest: fix function name in comment
Change-Id: I55dfed6ab5e87794d992519d2916080d9d60fe0f
Reviewed-on: https://go-review.googlesource.com/c/website/+/579197
Reviewed-by: qiu laidongfeng2 <2645477756@qq.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: shuang cui <imcusg@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2024-04-16 16:00:25 +00:00
Martin Kraft 5af563243b blog: fix incorrect anchor href
Updates link to 'pseudo-version' documentation from
'cmd/go/#hdr-Pseudo_versions' to 'ref/mod#pseudo-versions'.

Change-Id: I67843580c07cff082858cc85cd768290a0aa8f37
Reviewed-on: https://go-review.googlesource.com/c/website/+/578655
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2024-04-15 17:43:33 +00:00
Alan Donovan 427055ea44 _content/doc/go1.22.html: remove nonexistent v2 rand.Uint
Fixes golang/go#66693

Change-Id: I0b7bfa77f831d25b717ec34188deb65c2f95b8aa
Reviewed-on: https://go-review.googlesource.com/c/website/+/578295
Auto-Submit: Alan Donovan <adonovan@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-04-11 19:41:29 +00:00
Alan Donovan bacad80230 _content/doc: update references to obsolete godoc
Updates golang/go#59056

Change-Id: I43ff06556e06c5bd76ee17632d3b316a7fbb7e70
Reviewed-on: https://go-review.googlesource.com/c/website/+/571101
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-04-11 17:57:20 +00:00
Oleksandr Redko cfd4785fc3 content: fix typo in JavaScript
Change-Id: I942d039d67a060ee2a587e140a36b980ea469cd5
Reviewed-on: https://go-review.googlesource.com/c/website/+/561957
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-04-11 16:34:52 +00:00
Alan Donovan 4beff31047 _content/doc/database: fix typo in db query example
Fixes golang/go#66135

Change-Id: I288e841657d8cf54e75db22d8b4ca7fcc4bf1559
Reviewed-on: https://go-review.googlesource.com/c/website/+/569915
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
2024-04-11 13:32:33 +00:00
Jonathan Amsterdam 1e09c04051 _content/doc: convert go1.22.html to markdown
Convert the last release notes file from html to markdown.

See https://go.dev/cl/539755 for context.

The diffs were done by eye, because the screen grab for the local
server included the cookie warning, making the screentest diffs useless.

Along the way, fixed a bug: the html inadvertently used backticks
for code in one place.

For golang/go#64169.

Change-Id: I028982ad92a607974158a18496a1c3ac0a14d64a
Reviewed-on: https://go-review.googlesource.com/c/website/+/577775
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-04-10 16:50:57 +00:00
Todd Kulesza ed2f4aa2c8 _content/blog: add 2024 H1 developer survey results
Change-Id: Icf32a0db2d56620f1ac66126345540fa8bfb22a5
Reviewed-on: https://go-review.googlesource.com/c/website/+/577115
Reviewed-by: Cameron Balahan <cbalahan@google.com>
Reviewed-by: Todd Kulesza <tkulesza@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-04-09 17:42:23 +00:00
Gopher Robot 64c171f80f go.mod: update golang.org/x dependencies
Update golang.org/x dependencies to their latest tagged versions.

Change-Id: I08efc65d3443db2c7ccd7b5afe418f9b2e3073be
Reviewed-on: https://go-review.googlesource.com/c/website/+/576718
Reviewed-by: Than McIntosh <thanm@google.com>
Auto-Submit: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-04-04 23:15:17 +00:00
Michael Anthony Knyszek ae14498c50 _content/blog/execution-traces-2024: fix compilation error
The `id` variable is not used, and there's no `GoroutineTransition`
method, it's just called `Goroutine`.

Change-Id: Ib3d3adf55542976c40274a7458fe6931853c495c
Reviewed-on: https://go-review.googlesource.com/c/website/+/576055
Reviewed-by: Felix Geisendörfer <felix.geisendoerfer@datadoghq.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2024-04-04 19:32:56 +00:00
Dmitri Shuralyov 4b1a1380f1 internal/history: document Go 1.22.2 and 1.21.9 releases
Change-Id: I6f8a3ffecebb7a50798d03fc0693d42dc5ad791f
Reviewed-on: https://go-review.googlesource.com/c/website/+/576056
Reviewed-by: Than McIntosh <thanm@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-04-03 15:37:10 +00:00
Robert Findley 8d41b1ccf2 _content/doc/telemetry.md: update links to newly renamed chartconfig
Fixes golang/go#63883

Change-Id: I92252f227ca64680fd4c3ca4ed506da4adc591fd
Reviewed-on: https://go-review.googlesource.com/c/website/+/572895
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Robert Findley <rfindley@google.com>
2024-03-20 14:26:16 +00:00
Bryan C. Mills 3e18747147 _content/ref/mod: document dotless module paths
Fixes golang/go#32819
For golang/go#37641

Change-Id: Icbf33337f1b35d47a44ddd7512ce4f7d0f8a0d56
Reviewed-on: https://go-review.googlesource.com/c/website/+/359594
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2024-03-15 21:50:09 +00:00
Kevin Burke 93a704f46f blog/execution-traces-2024: fix spelling error in example
Change-Id: Id7cc0fbfc133ac6f1e2927241b794c665e5f66f3
Reviewed-on: https://go-review.googlesource.com/c/website/+/571855
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-03-15 15:58:11 +00:00
Michael Anthony Knyszek 0ede513f65 _content/blog: fix typo in execution traces 2024 post
Change-Id: Ida1ac5b41924f863f0b443ad874ed6a43730f4f4
Reviewed-on: https://go-review.googlesource.com/c/website/+/571677
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-03-15 04:29:17 +00:00
Michael Anthony Knyszek c2d58a869f _content/blog: add execution traces 2024 blog post
Change-Id: Id12e94913263048df46496cc77fb0376edd81a77
Reviewed-on: https://go-review.googlesource.com/c/website/+/570603
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Eli Bendersky <eliben@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
2024-03-14 19:57:09 +00:00
Jonathan Amsterdam 251edba7d8 _content/blog: fix function name in routing post
Fixes golang/go#66199.

Change-Id: I8a502d3e97631809409b757abcac412ba9213833
Reviewed-on: https://go-review.googlesource.com/c/website/+/571275
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
2024-03-13 14:24:02 +00:00
Robert Findley ca874c6d46 _content/doc/telemetry: use a solid background for dataflow diagram
The transparent background for dataflow.png did not work well with a
dark theme. Use a solid white background.

For golang/go#63883

Change-Id: I9836522d3411125037dd70502c0dfe690a786157
Reviewed-on: https://go-review.googlesource.com/c/website/+/570601
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2024-03-11 22:28:58 +00:00
Michael Anthony Knyszek 0c12b63ef2 _content/doc: update huge page details with max_ptes_none workarounds
Go 1.21.1 and Go 1.22 have ceased working around an issue with Linux
kernel defaults for transparent huge pages that can result in excessive
memory overheads. (https://bugzilla.kernel.org/show_bug.cgi?id=93111)

Many Linux distributions disable huge pages altogether these days, so
this problem isn't quite as far-reaching as it used to be. Also, the
problem only affects Go programs with very particular memory usage
patterns.

That being said, because the runtime used to actively deal with this
problem (but with some unpredictable behavior), it's preventing users
that don't have a lot of control over their execution environment from
upgrading to Go beyond Go 1.20.

This adds documentation about this change in behavior in both the GC
guide and the Go 1.21 release notes.

For golang/go#64332.

Change-Id: I29baaffcc678d08255364a3cd6f11211ce4164ba
Reviewed-on: https://go-review.googlesource.com/c/website/+/547675
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-03-11 20:22:55 +00:00
Bryan C. Mills 8cd359112e _content/doc: mention cgo requirements for external linking in release notes for Go 1.21 and 1.22
Fixes golang/go#65887.
Updates golang/go#31544.
Updates golang/go#46330.
Updates golang/go#64875.

Change-Id: Ibb035e2287ad0efdbe875c5dd16ffd938ec7a956
Reviewed-on: https://go-review.googlesource.com/c/website/+/569296
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-03-11 19:53:03 +00:00
Robert Findley 29629ecc7e _content/doc: add documentation for Go telemetry
Add documentation for Go telemetry, aimed at Go users who want to
understand telemetry better. This article goes into some detail about
the telemetry data flow, but doesn't get into details about x/telemetry
APIs, as those are mostly interesting only for Go toolchain developers,
and therefore belong in x/telemetry documentation.

For golang/go#63883

Change-Id: Ie7e82960a2dbe5e0c0c81e46dc0b0c86174365fe
Reviewed-on: https://go-review.googlesource.com/c/website/+/558196
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Robert Findley <rfindley@google.com>
2024-03-11 17:35:49 +00:00
cui fliter e2bd64a578 all: close HTML tags
Change-Id: I53355d0e3ecc63df6e1afccc0b0e6d69c31adc82
Reviewed-on: https://go-review.googlesource.com/c/website/+/569095
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: shuang cui <imcusg@gmail.com>
2024-03-08 01:59:20 +00:00
Kevin Burke 49e4b394d9 _content/doc/devel: fix article formatting
Previously, the release notes for Go 1.20.9 and 1.21.1 note "one
security fixes" instead of "a security fix." We could change the
content of internal/history/release.go but feels better to do the
right thing even if people do this same thing again.

Change-Id: I6817e0023f45b09f7a26dc58753001484218cf99
Reviewed-on: https://go-review.googlesource.com/c/website/+/569375
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Kevin Burke <kevin@burke.dev>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2024-03-06 19:19:42 +00:00
Michael Anthony Knyszek ea18705977 internal/history: document Go 1.22.1 and Go 1.21.8
Change-Id: I336ef9df817dc82bcf404bd72f859555d487fec0
Reviewed-on: https://go-review.googlesource.com/c/website/+/569295
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-03-05 17:49:44 +00:00
Gopher Robot 2a843f56f0 go.mod: update golang.org/x dependencies
Update golang.org/x dependencies to their latest tagged versions.

Change-Id: I526510973d84343ba669ddfa1b19d9d744f0eec6
Reviewed-on: https://go-review.googlesource.com/c/website/+/569017
Auto-Submit: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2024-03-05 16:01:41 +00:00
Deleplace 50957a7e9e blog: robust generic functions on slices
Change-Id: Ib18522588d620b3ce7b2b25ac477c65e50c9771d
Reviewed-on: https://go-review.googlesource.com/c/website/+/564456
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-02-22 22:33:43 +00:00
Sean Liao 824cca56df _content/doc/install: document minimum bootstrap versions
Fixes golang/go#65654
Updates golang/go#54265
Updates golang/go#44505

Change-Id: Ia1c9b50a2f66b67db43e8dcd21b1002b66cf30fa
Reviewed-on: https://go-review.googlesource.com/c/website/+/562619
Auto-Submit: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Austin Clements <austin@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-02-21 22:03:32 +00:00
Kevin Burke aa63696e92 _content/doc: add additional pgo explanation
I was confused by this because it's listed in the "Compiler" section
- I assumed that the performance gains from PGO may have come from
compilation time.

Update the pgo blog post to mention the range of potential performance
improvements, which were noted in the 1.22 changelog.

Change-Id: I0d7cdd444cbb561eab20af35f3e923e7002d7eca
Reviewed-on: https://go-review.googlesource.com/c/website/+/564896
Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
2024-02-21 16:15:34 +00:00
Michael Matloob 129088f7cd _content/ref/mod: document go.work.sum files
There's no mention of go.work.sum files in ref/mod. Add some
mentioning when they can appear.

Fixes golang/go#51941

Change-Id: I377f6dcd0712ed8b9967469bc223543d784a6bd3
Reviewed-on: https://go-review.googlesource.com/c/website/+/563855
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
2024-02-13 21:34:49 +00:00
Gopher Robot ab22183b1b go.mod: update golang.org/x dependencies
Update golang.org/x dependencies to their latest tagged versions.

Change-Id: I4a5aa821a35f3a2f5d4e6adaecc90cf94e405ff8
Reviewed-on: https://go-review.googlesource.com/c/website/+/563337
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
2024-02-13 14:34:03 +00:00