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>
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>
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>
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>
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.
Fixesgolang/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>
Fixesgolang/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>
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>
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>
Typo from an update last week, remove an extra '<'.
Fixesgolang/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>
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>
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>
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>
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-1480044674Fixesgolang/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>
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>
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/).
Fixesgolang/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>
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.
Fixesgolang/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>
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>
Fixesgolang/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>
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>
- 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>
- 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>
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>
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>
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>
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>
- 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>
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>
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>
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>
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>
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.
Fixesgolang/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>
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>
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>
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.
Fixesgolang/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>
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>
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>
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>
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>
- 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>
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>
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>
OpenTracing has been deprecated/archived per their github/website.
Replace with the recommended replacement of OpenTelemetry.
Fixesgolang/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>
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>
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.
Fixesgolang/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>
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>
Fixesgolang/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>
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>
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>
Add a primary documentation page for PGO, describing both the mechanics
of using PGO as well as best practices around collecting profiles.
Fixesgolang/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>
- 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>
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>
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>
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>
A couple of images were not displaying correctly in the
2022 survey results for q2.
Fixesgolang/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>
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.
Fixesgolang/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>
It add 'go.dev/cl' on the GitHub issue tracker queries, and their links,
for issues with and without a suggested change.
Fixesgolang/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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
The Nilakantha Series converge more quickly comparing to the
Gregory-Leibniz Series.
Fixesgolang/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>
Target removed their Go case study, so we should remove our link to it.
Fixesgolang/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>
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>
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>
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>
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.
Fixesgolang/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>
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>
* 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>
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>
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>
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>
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>
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
Fixesgolang/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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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.
Fixesgolang/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>
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>
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>
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>
Change-Id: I81078879a99602edf5d5bdbb01ae8391d375f186
Reviewed-on: https://go-review.googlesource.com/c/website/+/415274
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
When multiple source files import different packages to the same name,
that creates an ambiguity, disallowing the use of the short package name
in doc comment links.
For golang/go#51082.
Change-Id: Id46ca1e2db2c681e02ed34fc4dd57e3e43030994
Reviewed-on: https://go-review.googlesource.com/c/website/+/414694
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Fixesgolang/go#53550
Change-Id: I1d354930c9482ab6f85852b900baf09de2472760
Reviewed-on: https://go-review.googlesource.com/c/website/+/414154
Auto-Submit: Carlos Amedee <carlos@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
We want both `/ref` and `/ref/` to point to `/doc/#references` section.
All documents for /ref/* are available from this unified website, so we
can set up a redirect rule using the native redirect support provided by
the internal/web package instead of relying on the internal/redirect rule.
Fixesgolang/go#53243
Change-Id: Ibed1aefc82f8b93ae14775efbb456b1571053eda
Reviewed-on: https://go-review.googlesource.com/c/website/+/413914
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Change-Id: I0754d18f4c3c3d5dfa0c34b4bc154a35ac20b917
Reviewed-on: https://go-review.googlesource.com/c/website/+/411794
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
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>
This change is a fix for what appears to be a typo. In the modules tutorial, in [section "Return greetings for multiple people"](https://golang.org/doc/tutorial/greetings-multiple-people), the step 2 code block does not indicate all the changed sections.
Everything I highlighted needs to changed in order for the code to work as intended. I found the highlights to be very helpful in following and transcribing the tutorial, so I noticed when they were incorrect.
Change-Id: I0e5ccdef4053b2f6a7a5688e5be9c3f6307c5486
GitHub-Last-Rev: 84a5c6e3ba
GitHub-Pull-Request: golang/website#49
Reviewed-on: https://go-review.googlesource.com/c/website/+/311329
Reviewed-by: Steve Traut <straut@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Currently we're publishing links to go.dev/doc/gc-guide but these links
are broken. I'm currently working on this, but at the very least let's
publish a work-in-progress page so that the status is clearer to those
who click the link.
For golang/go#53360.
Fixesgolang/go#53337.
Change-Id: Id3c6107d25ce9980e88d53c8ba6ec5b4349aa29f
Reviewed-on: https://go-review.googlesource.com/c/website/+/411954
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Also add link to the main page to relevant documentation.
Change-Id: I824e5385a53a578d722f1c3dc97457de1d0efce2
Reviewed-on: https://go-review.googlesource.com/c/website/+/410245
Reviewed-by: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Run-TryBot: Julie Qiu <julieqiu@google.com>
This new page documents how to write doc comments,
which has always been missing, as well as explaining the
new Go 1.19 doc comment syntax and what to do if gofmt
reformats a comment in an unexpected way.
For golang/go#51082.
Fixesgolang/go#44194.
Change-Id: I64baed6124e05cbe084c2df14f2a5611c6fccd5d
Reviewed-on: https://go-review.googlesource.com/c/website/+/410394
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Chris Hines <chris.cs.guy@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Stapelberg <stapelberg@google.com>
Also add a note that this project is a WIP.
Change-Id: I85dfea09d0d63a42043128fbb407d2051342b424
Reviewed-on: https://go-review.googlesource.com/c/website/+/410215
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
The table is left as HTML because markdown is not supported.
Change-Id: I7824245f059f27ba6fef0e71feb5d3024a117c32
Reviewed-on: https://go-review.googlesource.com/c/website/+/408978
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
Announce the 2022 June edition of the Go Developer Survey and
explain our shift to two surveys each year.
Change-Id: Ia7a6069fef44d678d19e14ab32a2aa2c1b237261
Reviewed-on: https://go-review.googlesource.com/c/website/+/408837
Reviewed-by: Eli Bendersky <eliben@google.com>
The purpose is to avoid overwriting user content restored by opening
recently closed tab from the history.
It turns out that https://golang.org/cl/407055 does not address the
issue reliably. If the run action happens before the user content is
restored, the source code of the "hello world" example will be sent
to the server for formatting. Most of the time (if not always), the
format result will return after the user content is restored. In this
case, the format result will overwrite the restored user content.
We can delay the run action until the user content is restored. But it's
subtle to decide how long to delay. On the other hand, I think it does
not make sense to run the "hello world" example on load, so I prefer
to address the issue by removing the run action on page load.
Fixesgolang/go#49895Fixesgolang/go#53065
Change-Id: Ia044103e79a15d0b351e4257af3aa74558c302d9
GitHub-Last-Rev: 40170ad2e8
GitHub-Pull-Request: golang/website#162
Reviewed-on: https://go-review.googlesource.com/c/website/+/408414
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Select the "hello.go" example on load will make it run.
But it will overwrite the source code that a user want to restore
by reopening the unintentionally closed tab from the browser history.
Since the example code is already loaded without the select action,
let's remove the select action and trigger the click event of the Run
button directly.
Note that we should replace the "DOMContentLoaded" event with
the "load" event. Otherwise, the click event will be triggered before
the user content is restored, which will prevent the user content
being restored.
Fixesgolang/go#49895
Change-Id: I897e22a5accc3271deaea5fa3b2f218fe66603d3
GitHub-Last-Rev: dc930974e3
GitHub-Pull-Request: golang/website#161
Reviewed-on: https://go-review.googlesource.com/c/website/+/407055
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Replace real tabs with 4 spaces in code snippets to make indentation
consistent
Fixesgolang/go#52255
Change-Id: Ida06a1dd2c2cd3100c32d6c29febf60aba2e20d7
Reviewed-on: https://go-review.googlesource.com/c/website/+/399374
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
An initial version of the Go vulnerability database landing page is
added.
Change-Id: I4dd8ebb0301fb06b999ec071fbb2d07efa57a803
Reviewed-on: https://go-review.googlesource.com/c/website/+/404034
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
An initial policy for the Go CNA is added.
Change-Id: I60e5bdb041e78f0c509ed5d6f51fda7b2e10af1b
Reviewed-on: https://go-review.googlesource.com/c/website/+/398274
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Change-Id: Ib0c4611c84c7eca652c6128faa8645be7c9ec9f0
Reviewed-on: https://go-review.googlesource.com/c/website/+/362034
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Fixesgolang/go#52616
Change-Id: If5326a9098e17d239fe1c6ed340515347dd57ad1
Reviewed-on: https://go-review.googlesource.com/c/website/+/403577
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Code-Review -2 is replaced by Hold +1.
Also update for recent review changes requiring two Google employees.
For golang/go#16764.
For golang/go#40699.
Change-Id: I6bf575e39309fdb0e25b5f741c39c71f23011334
Reviewed-on: https://go-review.googlesource.com/c/website/+/403054
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
We want to use go.dev/security as a landing page for all things Go
security.
In order to do so, go.dev/security now redirects to
go.dev/security/policy.
Once the landing page is created and all references to go.dev/security
are changed, go.dev/security will be its own page, with a link to the
security policy.
Change-Id: I281c38d3322abca35c87d9655debe126cc84cd64
Reviewed-on: https://go-review.googlesource.com/c/website/+/398255
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com>
Fix graphical glitches on the ladder SVG file.
Change-Id: Ic682ad88fa152fae54266aba15ea225ce2ac1ece
GitHub-Last-Rev: 4f3f85dc96
GitHub-Pull-Request: golang/website#157
Reviewed-on: https://go-review.googlesource.com/c/website/+/399655
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
The colors for the link and the background color for the background
quotes are too similar, so the quotes do not appear. This change adds
style to the links in the background quotes so that they inherit the
colors.
Updates golang/go#52312
Change-Id: Ib7fa0b23ff194333f50c1346747ea06d25e09254
Reviewed-on: https://go-review.googlesource.com/c/website/+/400894
Run-TryBot: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Nooras Saba <saba@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Use the same og:description and description; Signal at least uses description.
Use running gophers for the Twitter image for blog posts.
Adjust the gophers5logo to move the Go where it won't get cut off on Google chat.
Change-Id: I291ad7bf9ea58c0b6af3087213015196434d3163
Reviewed-on: https://go-review.googlesource.com/c/website/+/400434
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
This should make sharing on Twitter and in chat apps show nice
little cards for go.dev links that are shared. We can revise as needed
once we get some experience seeing them live.
Change-Id: I2fb41afd90193042c881868fe592bd2294208c90
Reviewed-on: https://go-review.googlesource.com/c/website/+/400334
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Provide general guidelines for when to use generics.
Change-Id: If97e1044e103a7386aeaf224810030ccae9d2c03
Reviewed-on: https://go-review.googlesource.com/c/website/+/375075
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Fixesgolang/go#52252
Change-Id: I181253220f971db7ef74ff6c6767f0bbf549477c
GitHub-Last-Rev: 2a437a0446
GitHub-Pull-Request: golang/website#155
Reviewed-on: https://go-review.googlesource.com/c/website/+/399415
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: Dmitri Shuralyov <dmitshur@google.com>
For the text in the download table to be visible for all
themes the row background color must switch with the
page theme.
For golang/go#34601
Change-Id: I369445f25efc3b3771f324f1c0555f9049cf3390
Reviewed-on: https://go-review.googlesource.com/c/website/+/398974
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Added a toggle button with three states: auto, light, and dark
to set the preferred color scheme of go.dev.
For golang/go#34601.
Change-Id: I771f64f34294fa0a86bbcdd6c0acaa4af7e7cf8c
Reviewed-on: https://go-review.googlesource.com/c/website/+/391536
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamalcarvalho@google.com>
New post on Go workspaces.
This is a roll-forward of CL 397274, rolled back in CL 398114.
Change-Id: Ie6b741cf73620faf1f486a85d82bedae2cc89426
Reviewed-on: https://go-review.googlesource.com/c/website/+/398534
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
This reverts CL 397274
Reason for revert: not supposed to be submitted yet
Change-Id: I7d779d41ce5b44f05dfd2cca7aa977321333686e
Reviewed-on: https://go-review.googlesource.com/c/website/+/398114
Trust: Michael Matloob <matloob@golang.org>
Trust: Peter Weinberger <pjw@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Peter Weinberger <pjw@google.com>
New post on Go workspaces.
Change-Id: Ied8ab7f1472609a1272f083173d0fbc2e38fcd5d
Reviewed-on: https://go-review.googlesource.com/c/website/+/397274
Reviewed-by: Michael Matloob <matloob@golang.org>
Trust: Ian Lance Taylor <iant@google.com>
Invoke the template named "html" using the usual html/template way
instead of invoking it as a function (via the tmplfunc package) to
work around https://github.com/rsc/tmplfunc/issues/1.
The package golang.org/x/tools/present imports "html/template" from
the standard library, so its HTML.HTML field of type template.HTML
isn't understood to be content from a trusted source by the internal
backported copy. Use type aliases for those special types to fix that.
Fixesgolang/go#51989.
Updates rsc/tmplfunc#1.
Change-Id: Ib9609f41b17407e297ea3bb111f346188aa7a9b0
Reviewed-on: https://go-review.googlesource.com/c/website/+/396234
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamalcarvalho@google.com>
Currently, unlike the site header, the site footer is visible when
printing a document.
Change-Id: Ieb17be48cd0aa679cb0a4e675df7c39678d9b45a
Reviewed-on: https://go-review.googlesource.com/c/website/+/394174
Reviewed-by: Jamal Carvalho <jamalcarvalho@google.com>
Trust: Ian Lance Taylor <iant@google.com>
This change updates the Linux installation instructions to emphasize
the need to delete an existing Go tree in /usr/local/go before
untarring the downloaded archive.
This is a common mistake people seem to make on Linux, and it's known
to produce broken Go installations.
Updates golang/go#51760
Change-Id: Ia7375957a6034defc708add74cf3c2cf4dbee5d4
Reviewed-on: https://go-review.googlesource.com/c/website/+/393755
Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamalcarvalho@google.com>
Trust: Ian Lance Taylor <iant@google.com>
In the first code sample that uses the `constraints` package, add an explicit
import for it; otherwise this code sample will not work in Go 1.18
Change-Id: I4e9823b34128cc068a77947223ac8e71c7fdf722
Reviewed-on: https://go-review.googlesource.com/c/website/+/395334
Run-TryBot: Eli Bendersky <eliben@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
The blog post wasn't listed at go.dev/blog because its metadata
was missing a '---' line at the bottom. Add it. (It was showing
up at go.dev/blog/intro-generics only, with metadata visible as
plain text.)
Fix the URL of the embedded YouTube video.
Point to the moved location of the constraints package in x/exp.
Replace absolute go.dev links with relative ones, so they work
for more users (at golang.google.cn/blog, and so on).
Shorten the links to proposal slightly, using HEAD to refer to the
default branch.
Change-Id: Ie78838a50bb50843e6c242781252d5347063e361
Reviewed-on: https://go-review.googlesource.com/c/website/+/394994
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
Fixesgolang/go#51785
Change-Id: Ic5efc91122f83b92ce37de1cd402f3bba3b84cf1
Reviewed-on: https://go-review.googlesource.com/c/website/+/394815
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
CL 375798 fixed this, but was overwritten by CL 384874
Fixesgolang/go#51251
Change-Id: I709861181e925c6f4046d183418c3521a876e592
Reviewed-on: https://go-review.googlesource.com/c/website/+/394816
Reviewed-by: Ian Lance Taylor <iant@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
Change-Id: I7d69075c03e51e357d0b9457eba6be370cca9307
Reviewed-on: https://go-review.googlesource.com/c/website/+/375115
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
Trust: Ian Lance Taylor <iant@google.com>
Realistically many of these changes are not going to happen in 1.19,
since the freeze is only five weeks away. If they get in, great.
But let's not suggest that that is likely.
Change-Id: Icd8478d10bc8657838fd196fb1157204c7a9b629
Reviewed-on: https://go-review.googlesource.com/c/website/+/394254
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Trust: Ian Lance Taylor <iant@google.com>
Make it possible to use the higher-level fix summary fields, instead of
CustomSummary, when a release has both bug fixes and security fixes.
Rewrite the recent hand-written custom summaries to use the new fields,
which produces equivalent output that differs largely in white-space
and some trivial consistency fixes.
Fixesgolang/go#51719.
Updates golang/go#38488.
Updates golang/go#44918.
Change-Id: I672cea21f63cb4ab9764efb6cbc783cf503b791c
Reviewed-on: https://go-review.googlesource.com/c/website/+/393357
Trust: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Carlos Amedee <amedee@google.com>
The -workfile flag's function has been absorbed by the GOWORK
environment variable. Update the workspaces reference to reflect that.
Also fix an error in the workspaces tutorial.
For golang/go#45713
Change-Id: Id8dc8bb8dc6458d03d7b947ec78d84263d9689e1
Reviewed-on: https://go-review.googlesource.com/c/website/+/393360
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Beth Brown <ecbrown@google.com>
Added Bitly case study and replaced Target logo with Bitly
on the front page.
Change-Id: I3ded2a12a520f6e45bfc1623101bde26ed0c37e3
Reviewed-on: https://go-review.googlesource.com/c/website/+/393214
Reviewed-by: Jamal Carvalho <jamalcarvalho@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Trust: Peter Weinberger <pjw@google.com>
Transparent images on the doc pages assume there is a white background.
This change preserves the white background for images when the site is
viewed with the dark theme.
For golang/go#34601.
Change-Id: I4c0a28d173d7ecf52547da6e5a6382d84bc922e3
Reviewed-on: https://go-review.googlesource.com/c/website/+/392479
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Trust: Jamal Carvalho <jamalcarvalho@google.com>
When the header was made unsticky the subnav for the
usecase page was not adjusted. This change fixes
the positioning and initialization of the subnav.
Change-Id: I48569fc6c4e21b782ed30269db17083b7b5eea74
Reviewed-on: https://go-review.googlesource.com/c/website/+/391538
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Trust: Jamal Carvalho <jamalcarvalho@google.com>
For golang/go#43854
Change-Id: I3724f620e0e2f122e7bbb615db8c0ce1b4151a8d
Reviewed-on: https://go-review.googlesource.com/c/website/+/393234
Reviewed-by: Bryan Mills <bcmills@google.com>
Trust: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Revert commit 2e3ad7d979 (CL 393115).
By now, the website is using Go content from release-branch.go1.18,
so this temporary mitigation is no longer needed.
Fixesgolang/go#51686.
Change-Id: I47e3962cdffd88c708e1c150d9cf4bdcac217b24
Reviewed-on: https://go-review.googlesource.com/c/website/+/393355
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Trust: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Go 1.18 is released; these tutorials are now out of beta as well.
Fixesgolang/go#51688
Change-Id: I5ded6c75f3131c97e3d2104146e0dff98dd7b1b0
Reviewed-on: https://go-review.googlesource.com/c/website/+/393215
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Trust: Eli Bendersky <eliben@google.com>
Also update the existing generics FAQ.
For golang/go#48274Fixesgolang/go#49938
Change-Id: Id87dbf43f4a151abb7c2c2f6309fc8ee3c947aa1
Reviewed-on: https://go-review.googlesource.com/c/website/+/374215
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@google.com>
Trust: DO NOT USE <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
The canonical location for these documents is in the main Go repository
in the doc directory. Due to go.dev/issue/51686, the website is using
Go content from release-branch.go1.17 rather than release-branch.go1.18.
Temporarily add a copy of the spec docs to x/website so it's possible to
view them at go.dev (in addition to tip.golang.org) while that issue is
being resolved.
For golang/go#51686.
Change-Id: Ia6640d6c32af631f562db1294d191f461373b9ee
Reviewed-on: https://go-review.googlesource.com/c/website/+/393115
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
Change-Id: I595b5370c2a43fabeb3b24638dd00a402427363f
Reviewed-on: https://go-review.googlesource.com/c/website/+/393054
Reviewed-by: DO NOT USE <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: David Chase <drchase@google.com>
Pre-announce the removal of certificate signing with MD5 and SHA-1
based algs in 1.19.
Updates golang/go#42125
Change-Id: I78784f3182b1d33ce6271621abd6c35cd668d93c
Reviewed-on: https://go-review.googlesource.com/c/website/+/391174
Reviewed-by: Filippo Valsorda <valsorda@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
Change-Id: I0d078c38dae7406e6af0be8317483b6a2f689f8c
Reviewed-on: https://go-review.googlesource.com/c/website/+/391654
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: DO NOT USE <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
The text color in go.dev/play was accidentally set to color-text-subtle
in CL 384874 whereas the correct color is color-text.
Fixesgolang/go#51584
Change-Id: I0a512d826bb88dc16db032334350935503724f09
Reviewed-on: https://go-review.googlesource.com/c/website/+/391394
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Valentin Deleplace <deleplace@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Document field access limitations for type parameters.
Also, remove some superfluous "currently" uses - the
time context is clear from the introductory paragraph
of the respective section.
For golang/go#51576.
For golang/go#47694.
Change-Id: If4c12f95f024894a9efb949dda9341d8ab0dc77e
Reviewed-on: https://go-review.googlesource.com/c/website/+/391279
Reviewed-by: DO NOT USE <iant@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
Added dark mode styles and images.
For golang/go#34601
Change-Id: I1a4d9599cbe8e3b51380be914cfe1abbc3cd79bb
Reviewed-on: https://go-review.googlesource.com/c/website/+/384874
Reviewed-by: Jamal Carvalho <jamalcarvalho@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
Go 1.18 is now expected to be released in March 2022.
For golang/go#44513.
Fixesgolang/go#51505.
Change-Id: I4f744dc96c6ef5150d7475b51759d5fc5b13633b
Reviewed-on: https://go-review.googlesource.com/c/website/+/390374
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: DO NOT USE <iant@google.com>
Based on CL 366955 originally by Timothy Gu.
For golang/go#46001
For golang/go#47694
Change-Id: Ide7711680d651c4cbbb6da13ab33b67cf5e26758
Reviewed-on: https://go-review.googlesource.com/c/website/+/389955
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Trust: DO NOT USE <iant@google.com>
Copied from Go commit 2cb9e116d39176bd8a93609c63b175ac09eacea9 CL 388454.
Deleted there in CL 388515.
Updates golang/go#47694
Change-Id: I5f26ce2fc6ec96c5902dbe5838689fd139bcd0e5
Reviewed-on: https://go-review.googlesource.com/c/website/+/388556
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Alex Rakoczy <alex@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
Auto-Submit: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <amedee@google.com>
The race detector doc doesn't state cgo,
the content is basically as ALTree suggested in issue 51235.
Fixesgolang/go#51235
Change-Id: I03356c01f4542e69a02c712063afb77ae68cc90f
Reviewed-on: https://go-review.googlesource.com/c/website/+/386454
Reviewed-by: DO NOT USE <iant@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
"Add three rows with values" should be "Add four rows with values".
Change-Id: I82103908292faf95c1b6c62ca57d6f47b0249ccb
GitHub-Last-Rev: 2a02403727
GitHub-Pull-Request: golang/website#126
Reviewed-on: https://go-review.googlesource.com/c/website/+/385594
Reviewed-by: DO NOT USE <iant@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
Adds a page to the fuzzing docs which contains a technical description
of the fuzzing implementation.
Change-Id: I9415548b91e56ad836932da1e61921cbb8086faf
Reviewed-on: https://go-review.googlesource.com/c/website/+/379594
Reviewed-by: DO NOT USE <katiehockman@google.com>
Trust: DO NOT USE <katiehockman@google.com>
Trust: Roland Shoemaker <bracewell@google.com>
Run-TryBot: Roland Shoemaker <bracewell@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
This avoids importing the constraints package, which is no longer in
the standard library.
For golang/go#50792
Change-Id: I0e0f48d414e87418a1fe95e500bb7629127007cc
Reviewed-on: https://go-review.googlesource.com/c/website/+/383254
Reviewed-by: Eli Bendersky <eliben@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
Trust: DO NOT USE <iant@google.com>
Run-TryBot: DO NOT USE <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Updates golang/go#51032
Change-Id: Iec7965f8d2823e7918967e0fae8425e0b1cc615e
Reviewed-on: https://go-review.googlesource.com/c/website/+/383454
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Roland Shoemaker <bracewell@google.com>
Trust: DO NOT USE <katiehockman@google.com>
Run-TryBot: DO NOT USE <katiehockman@google.com>
Add entries for go.work files and the new go work commands to
golang.org/ref/mod.
For golang/go#45713
Change-Id: I1ad3335f977fad864d75790e31e48ee34e531ff5
Reviewed-on: https://go-review.googlesource.com/c/website/+/379655
Reviewed-by: Bryan Mills <bcmills@google.com>
Trust: Michael Matloob <michaelmatloob@gmail.com>
Explain that Effective Go is not a living document.
No changes other than one new paragraph in the
introduction.
Fixesgolang/go#49937
Update golang/go#28782
Change-Id: I615e48df56313e3d91e8b88b139159f64900db7e
Reviewed-on: https://go-review.googlesource.com/c/website/+/380634
Reviewed-by: DO NOT USE <iant@google.com>
Trust: Michael Knyszek <mknyszek@google.com>
Also some minor text and formatting updates.
Change-Id: I0716d6714e9558ac744d9929adaa0a92b63e36e3
Reviewed-on: https://go-review.googlesource.com/c/website/+/380574
Reviewed-by: Robert Griesemer <gri@google.com>
Trust: DO NOT USE <iant@google.com>
There were a couple of minor things that were slightly wrong due to
changes in the libraries, and the addition of generics makes the meaning
of an interface worth clarifying.
Add an introductory paragraph about generics, and adjust a few
sentences.
No substantive change.
Fixesgolang/go#49939
Change-Id: I67fbd28f1a9876158006202bf03ea693265c5cd5
Reviewed-on: https://go-review.googlesource.com/c/website/+/380276
Reviewed-by: DO NOT USE <iant@google.com>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Trust: Michael Knyszek <mknyszek@google.com>