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>
This way nothing in the golang-org project needs IAP.
Leave behind a redirect on admin.golang.org to admin.go.dev.
Also rename app to adminapp; add new redirector adminredirect.
Change-Id: I062d92db31e39a7f58fd3aad77fc5eef64e3f0dd
Reviewed-on: https://go-review.googlesource.com/c/website/+/495275
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
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 version is being updated to include CL 492755.
Change-Id: Iec5a8cdc420f1151b6d14d7bccd409056540a1b6
Reviewed-on: https://go-review.googlesource.com/c/website/+/492775
Run-TryBot: Carlos Amedee <carlos@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
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>
pkg.go.dev doesn't need the go-source meta tag to be set when the source
repository is hosted on GitHub; it detects that from the go-import meta
tag and does the rest itself. Only the protobuf repo still needs it:
its canonical source repository is on Gerrit but it prefers a mirror
repository on GitHub to be used for viewing the source code.
Also make the redirect message nicer, like CL 293415 did for
golang.org/x repos.
Change-Id: I489f17163fb574e0fb8edb8575af8b66ca7e5251
Reviewed-on: https://go-review.googlesource.com/c/website/+/485355
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
The go-source meta tag was added in CL 2719 so that godoc.org could
link to source code for golang.org/x repos. godoc.org is now served
by golang.org/x/pkgsite rather than by github.com/golang/gddo, and
x/pkgsite maintains this mapping for golang.org/x repos itself in
x/pkgsite/internal/source. Drop the tag since it has become unused
and stale (we've since switched to https://cs.opensource.google/go
for viewing x/ repo source code).
Updates golang/go#40477.
Change-Id: Id029e58bfdb838e040241d6bf7677349cec6e04a
Reviewed-on: https://go-review.googlesource.com/c/website/+/484515
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
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>
CL 478576 restored support for go vet errors to go.dev/play. However, I
didn't realize that cmd/golangorg/testdata contained tests that aren't
run by trybots. Since these tests were not updated, the deployment
failed.
Update live.txt to expect the VetErrors field. Tested locally by
uncommenting the skip in server_test.go.
For golang/go#58560
Change-Id: I2757ef569907a730f9cccccd0f15e7a7b1bb9975
Reviewed-on: https://go-review.googlesource.com/c/website/+/480236
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
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>