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>
Keep them up with the times.
Also rewrite googlegolangorg's .gcloudignore to more effectively include
only the bare minimum files using the same approach as in CL 406374.
Change-Id: Ibc42b164e0cfb8052af0ec560044a20c62fc8368
Reviewed-on: https://go-review.googlesource.com/c/website/+/456775
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Now that the deploy happens with Go 1.19, it's viable to start using
these packages from the standard library instead of their backported
temporary copies.
Keeping Go 1.18 happy during its last two months of support requires
a tiny complication in pkgdoc package. An alternative path is to not
drop internal/backport/go/doc and all of its dependencies right away,
but getting to zero backported packages sooner was hard to resist...
For golang/go#51800.
Change-Id: Ieb7a137a033d6b6850dfc019c8c0c767756cc30d
Reviewed-on: https://go-review.googlesource.com/c/website/+/456522
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Bypass: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Now that it's available, start deploying with it.
For golang/go#51800.
Change-Id: I11c4dc131e33f192e9d7ea1fb5a154fc3422dece
Reviewed-on: https://go-review.googlesource.com/c/website/+/456521
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
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>
Some shorteners blindly rewrite go-review.googlesource.com/ to go.dev/cl/
but Gerrit has changed the URL schema to start with c/<repo>/+/<id>
instead of just <id>. So we now see URLs like go.dev/cl/c/go/+/12345.
Assume that the leading c/ means it is for Gerrit and redirect accordingly.
Change-Id: I72aa365681145432a6e50eb1ba7b1a85d191a314
Reviewed-on: https://go-review.googlesource.com/c/website/+/447996
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Than McIntosh <thanm@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>
Fixes breakage from CL 446115.
Change-Id: I54be08987e04d3baaabc22b0450b7492f44bbca2
Reviewed-on: https://go-review.googlesource.com/c/website/+/446655
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Bryan Mills <bcmills@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: Ian Lance Taylor <iant@google.com>
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 storage client will cause an error if the caller has not
registered default application credentials for GCP. If the test
only contains local screenshots this should not be necessary.
Change-Id: I3433141cb392f5d3cd8f20aa678330cd948ab15f
Reviewed-on: https://go-review.googlesource.com/c/website/+/442177
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
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>
Change-Id: I16189d677f83d3508aa3a6b4841b0e30b47312ca
Reviewed-on: https://go-review.googlesource.com/c/website/+/438180
Run-TryBot: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
In locking down our permissions, I blocked access to this site and
x/build/rmplaysnippet. Put the site behind IAP, and add playground
removal support.
Change-Id: I7722f5911f31a140c93780fe0417dd2368276926
Reviewed-on: https://go-review.googlesource.com/c/website/+/435455
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>
Documentated eval keyword which allows for running arbitrary JavaScript
snippets in the context of the page. Unexported response struct, not
intended for use outside of the package.
Change-Id: I34b570ad997f253b1a262836dd3f240e15366465
Reviewed-on: https://go-review.googlesource.com/c/website/+/432878
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@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>
These variables never change, we don't need second copies of them.
Change-Id: I79fec284402dd709af1c2f9a7edf24f2c83d9d8b
Reviewed-on: https://go-review.googlesource.com/c/website/+/429576
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>