And drop the link to the Go project contribution guide
which is not necessary.
Change-Id: Ied0e433a4e1949716e1955054bd7af8ab902e433
Reviewed-on: https://go-review.googlesource.com/c/website/+/525155
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Mention the idiom of using "reports whether" to describe functions
that return a boolean.
While here, replace several uses of "func" with "function". In the Go
spec, "func" is a keyword used in function declarations and function
literals, but the declared object is always referred to as a
"function".
Also, change "arguments" to "parameters". Again, in the Go spec,
"arguments" is used to describe the operands that appear in a call
expression, whereas "parameters" are the objects declared in a
function signature.
Change-Id: I01dfafd05af1852a8d2056bdabbda1e2bcc8cbb7
Reviewed-on: https://go-review.googlesource.com/c/website/+/524956
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Fixesgolang/go#61373
Change-Id: I60fa1be13cb7e32af5169e303f5e1c40d207edc4
Reviewed-on: https://go-review.googlesource.com/c/website/+/524039
Reviewed-by: Russ Cox <rsc@golang.org>
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>
For golang/go#57237Fixesgolang/go#62349
Change-Id: I2407281b1635e3689f6e225da2ea7f562f321203
Reviewed-on: https://go-review.googlesource.com/c/website/+/524675
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
It was meant to be one bullet point, not two.
Change-Id: I113f1cef44319f95aff110c6f3ef1d1dad9a69b2
Reviewed-on: https://go-review.googlesource.com/c/website/+/524396
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>
Reviewed-by: Russ Cox <rsc@golang.org>
The link pointed to the old home of the blog.
Moreover, in the new world of modules, `go get` isn't a very convenient
way to obtain samples, so pointing directly to the code repository
instead.
Change-Id: I2dca199cf817920347445a5db17521a349a93c64
Reviewed-on: https://go-review.googlesource.com/c/website/+/522677
Run-TryBot: Eli Bendersky <eliben@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Eli Bendersky <eliben@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Fixesgolang/go#62225
Change-Id: I6de01f1176494d3c83c638333194201013e21f85
Reviewed-on: https://go-review.googlesource.com/c/website/+/522075
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reported by Jochen Voss on the golang-nuts list
Change-Id: Ic0986948c13b30ce98a4bb763da883ab4fafd76b
Reviewed-on: https://go-review.googlesource.com/c/website/+/520215
Run-TryBot: 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>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
This added by https://go-review.googlesource.com/c/go/+/500956. But there is not an open bracket.
I assume this is just a typo.
Change-Id: I3609db7cc628ddd3bf24573d409185802f425e45
GitHub-Last-Rev: f0f00d306b
GitHub-Pull-Request: golang/website#241
Reviewed-on: https://go-review.googlesource.com/c/website/+/519015
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@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>
Match the behavior as implemented in CL 518675 and CL 518815,
and ready to be released in the next set of minor releases.
For golang/go#57001.
Change-Id: I4404530994e636173f636aefb83bd64e208eba3c
Reviewed-on: https://go-review.googlesource.com/c/website/+/519216
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
the init function is removed from the code example: f7341273fe
Change-Id: Id247fed6f46ad83e47c9871519ed8001dca79c62
GitHub-Last-Rev: 012feea9eb
GitHub-Pull-Request: golang/website#230
Reviewed-on: https://go-review.googlesource.com/c/website/+/507096
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>
Reviewed-by: Robert Findley <rfindley@google.com>
As described at https://go.dev/doc/go1.21#ports:
- Go 1.21 requires at least Windows 10 or Windows Server 2016;
support for previous versions has been discontinued.
- Go 1.21 requires macOS 10.15 Catalina or later;
support for previous versions has been discontinued.
For golang/go#23011.
For golang/go#52188.
Change-Id: I7a3dd6e82400b238a2220d34bcffbbfc2f1b68a1
GitHub-Last-Rev: c637a1c5aa
GitHub-Pull-Request: golang/website#240
Reviewed-on: https://go-review.googlesource.com/c/website/+/518235
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Update docs to use the preferred settings style for VS Code.
Fixesgolang/go#61633
Change-Id: I2eb079bbc5a65a99330adcabe38b3bb315dc2402
Reviewed-on: https://go-review.googlesource.com/c/website/+/517776
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
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>
Fixesgolang/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>
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>
Fixesgolang/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>
Fixesgolang/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>
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>
Go 1.21.0 is the first major Go release that explicitly includes the
trailing ".0" version component. Add a test case covering changes to
the history.Version type and the template that uses it.
For golang/go#57631.
Change-Id: I97581b650604c25b6996305ecf4ad9d883cd85ba
Reviewed-on: https://go-review.googlesource.com/c/website/+/497498
Reviewed-by: Heschi Kreinick <heschi@google.com>
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>
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>
Also, update the golangorg deployment to use the Go 1.21 release branch.
Fixesgolang/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>
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>
Current esbuild version fails to build on Plan 9.
Pull in a newer version where that's been fixed.
Updates evanw/esbuild#3289.
For golang/go#61698.
Change-Id: Ie12bf81df57d22306857b6f51bb426cfa2a47cec
Cq-Include-Trybots: luci.golang.try:x_website-gotip-linux-amd64-misccompile
Reviewed-on: https://go-review.googlesource.com/c/website/+/516256
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
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>
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>
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>
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>
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>
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>