Insist on the canonical /issue/ and /wiki/ links instead.
Change-Id: I7a2eedda69bc3fcd11466722a41f00c9dbaf283f
Reviewed-on: https://go-review.googlesource.com/c/website/+/550323
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
We already add it to the actual <h1>. Add to the title too.
Change-Id: I9cbb3d0f35a2a49d63469075f9e5cb38167de88c
Reviewed-on: https://go-review.googlesource.com/c/website/+/550136
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
For not having been able to run this before submitting,
I was *so* close.
For golang/go#61940.
Change-Id: Ifb14b1ec35f731e7e886956ad422f92122625a38
Reviewed-on: https://go-review.googlesource.com/c/website/+/550135
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
The wiki pages have been copied to go.googlesource.com/wiki
and will be code reviewed using Gerrit, like other Go repos.
Unlike other Go repos, self-review will be permitted, and
there is no requirement for Googlers to be involved to make a change.
These relaxations are possible because the wiki has no production code.
The set of wiki +2'ers is a superset of the usual code +2'ers.
Fixesgolang/go#61940.
Change-Id: I01823720091fbaa24e95e9c82abeaadba867a17c
Reviewed-on: https://go-review.googlesource.com/c/website/+/518297
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
The first draft was reviewed in https://go.dev/cl/540477.
Change-Id: Ief0b42edd98b9165d0fb8fe034fc9d005c92666d
Reviewed-on: https://go-review.googlesource.com/c/website/+/547981
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
Support for linux/s390x was added in Go 1.19.
Change-Id: I939601ad707da5d6a81ba85662b1ed37b0feccbb
GitHub-Last-Rev: 837e2a8c06
GitHub-Pull-Request: golang/website#262
Reviewed-on: https://go-review.googlesource.com/c/website/+/544477
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Test that links are to /foo not https://go.dev/foo
and also check that the links actually point at real pages.
Manually fix problems that the test found.
For golang/go#37047.
Change-Id: I825eec3c2cadb9d259caff51cd893f3023ab533a
Reviewed-on: https://go-review.googlesource.com/c/website/+/548059
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Global search and replace in HTML for href="https://blog.golang.org/
and in Markdown for ](https://blog.golang.org/
Change-Id: Ife69e89a42a631fa5c8babd07201ed0d7796eb0e
Reviewed-on: https://go-review.googlesource.com/c/website/+/548062
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Change to not use https://go.dev/ directly in the link,
preferring relative links. Also fix many stale or broken links.
Makes talks safe for upcoming link-checking test.
Change-Id: I9c19e052b4df842561c3c153be630c99102a790c
Reviewed-on: https://go-review.googlesource.com/c/website/+/548061
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
We use /foo consistently so that people browsing on
golang.google.cn are not redirected to go.dev.
This CL is completely mechanical, replacing
href="https://go.dev/ -> href="/
in HTML and replacing
](https://go.dev/ -> ](/
in Markdown.
Change-Id: I8ac732d672075600c8e53c46787205454b196850
Reviewed-on: https://go-review.googlesource.com/c/website/+/548058
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
go.dev/security made sense as a URL when it was the security policy,
which might be considered not quite user-facing documentation.
But now it has grown into lots of definitely user-facing documentation,
so it should be in /doc with all the other user docs.
Move /security to /doc/security with redirects.
Change-Id: I4747bbd0d1c110a4c7f0ae2fe0098326cc8637b8
Reviewed-on: https://go-review.googlesource.com/c/website/+/548119
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
By default documentation should be in doc/.
There is no strong reason to keep testing in its own tree,
so move the one file here, /testing/coverage/,
to doc/build-cover, which better describes what
this is (building with coverage, as opposed to go test -cover).
Add a redirect to keep existing links working.
Change-Id: Ic3a3dfa9ae98788a0a1558bac0ce3934b1ead815
Reviewed-on: https://go-review.googlesource.com/c/website/+/548118
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Unclear why we have two; drop to one.
Change-Id: I9a8a75deb21a669f821e596922e5fc9e6777ba80
Reviewed-on: https://go-review.googlesource.com/c/website/+/548117
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
We do not agree that this is the right approach for these pages,
so delete them to head off any links to them.
Change-Id: Ifdd6d1ddacb3296238c3d2f4261854a986e6e987
Reviewed-on: https://go-review.googlesource.com/c/website/+/548116
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Change-Id: I63f25161b6a65be28c85faba67a0c8bf87f63dc8
Reviewed-on: https://go-review.googlesource.com/c/website/+/547535
Commit-Queue: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This page has .html extension, not .md, so use an HTML link.
Change-Id: Ifd5646c8b2875c805ce611ea8e2885b89136223f
Reviewed-on: https://go-review.googlesource.com/c/website/+/546695
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Since 1.7, the "Minor changes to the library" second has used
a definition list to describe the changes to each package.
Use level 4 headings instead. This removes one feature
that is not CommonMark-compliant. It paves the way for
using a CommonMark-compliant Markdown parser and renderer
for both display and generation of release notes.
For golang/go#64169.
Change-Id: I2327499971a2db4eee06ef35e3e41cd0d2f953b3
Reviewed-on: https://go-review.googlesource.com/c/website/+/541976
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Now that the notes are in Markdown, we don't need the html files.
For golang/go#64169.
Change-Id: I25f0b636ed4101c38966a2b7d97ec5e5e3cb827e
Reviewed-on: https://go-review.googlesource.com/c/website/+/541975
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
The first set of release notes is a template.
I converted it as follows:
1. Run html2md.
2. That escaped ` and * in the template function calls, so
I manually removed the escapes.
3. I made some small tweaks to avoid `<` being double-escaped
so it rendered as `<`.
The remaining diffs are due to "fancy" quotation marks and
apostrophes, as mentioned in the previous CL.
Change-Id: I085f5d141d63fbb751bffeec4dca760d1fd15464
Reviewed-on: https://go-review.googlesource.com/c/website/+/540295
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Add Markdown conversions for all release notes except the first to the
content for the go.dev site. Because the site prefers .md to .html
files, these files will be served even though the .html files still
exist.
This CL omits the first release notes file (go1.html) because it is a
template. None of the others need template expansion. We will convert
go1.html in a followup CL.
The goal in this CL was to minimize diffs. We compared the rendering
of each Markdown file with the live site using cmd/screentest
to make sure there were no major differences. Later CLs can make
changes to the formatting, for example by replacing definition
lists with level-4 headings, but we found it was easier to find
serious conversion issues this way.
To get the diffs, run
go run ./cmd/screentest ./cmd/screentest/testdata/relnotes.txt
from the repo root.
Some diffs still exist:
- The Markdown renderer used by the site replaces characters like "
and ' with their "fancier" forms outside of code. The original HTML
files used the ASCII characters. Most of the differences are due
to this.
- The Markdown renderer expands tabs to 4 spaces, where the browser
(at least Chrome) formats them with 8. The difference can be
seen in code blocks (which look better in Markdown).
- In go1.18, there is a very slight bit of extra space in the HTML
that produces what looks like a large diff. There was no easy
way to fix the spacing.
We converted the files using a slightly modified version of
github.com/rsc/tmp/html2md. We then sometimes hand-edited the files
when it didn't seem worth writing code to address the diff.
We had to change the "id" attribute for a heading in seven places,
because the attribute value contained a '/' or ' ' and the Markdown
renderer doesn't accept "id"s with those characters. We replaced the
offending characters with '_'. The change means that if we deploy
from this CL, links to those headings will break temporarily. Fixing
this now would involve forking all or a part of Goldmark, and we have
a better solution. Russ Cox has written a much smaller and simpler
markdown parser and renderer. Since we control it, we can have it
handle "id" attributes with spaces and slashes. We will replace
Goldmark with it eventually. But first we have to replace definition
lists with headings, because Russ's parser doesn't handle definition
lists. (None of the other Markdown files on the site use them.)
For reference, the altered heading IDs are:
- go1.13: crypto/ed25519
- go1.14: hash/maphash
- go1.15: time/tzdata
- go1.17: runtime/cgo
- go1.17: go run
- go1.18: debug/buildinfo
- go1.20: crypto/ecdh
Change-Id: Ibe02c8af2604908c3fd47a9674a4df01b128ff57
Reviewed-on: https://go-review.googlesource.com/c/website/+/539755
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Add a -run flag to screentest, similar to the one for `go test`,
so the user can run only one or a few tests.
I found this useful when converting release notes to markdown.
Change-Id: I13efe9c5e95b4c939ce8d1b9442f723d51c04e05
Reviewed-on: https://go-review.googlesource.com/c/website/+/539497
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This CL is preparation for converting release notes to Markdown.
We want to use the screentest tool to help us minimize changes.
- internal/screentest: add a template function to generate a sequence
of integers
- cmd/screentest/testdata: add relnotes.txt, which has a test for
every release note.
Change-Id: Ibeb2419637bc73d93b88d4c378f5396967d3d70f
Reviewed-on: https://go-review.googlesource.com/c/website/+/539496
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
The scrolling logic really needs the full page to fit in a browser window.
Do that by hiding the huge footer entirely.
Also fix a bug that was keeping the selected file name from displaying.
Change-Id: I641e7b1de9fc7a512f79e020ecdaa727e67d9810
Reviewed-on: https://go-review.googlesource.com/c/website/+/535275
Reviewed-by: Eli Bendersky <eliben@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Mention its existence retroactively for posterity, similarly to how the
reserved GOOS=hurd value was documented in the Go 1.12 release notes.
For golang/go#17528.
For golang/go#17929.
Change-Id: Ia574d856f1fca8b387c9f25530843cc874f525b7
Reviewed-on: https://go-review.googlesource.com/c/website/+/537916
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
If a markdown file has `template: false` in its metadata,
it will not be treated as a template.
Change-Id: I81599ea02b05ff7693f5f816293433df4988b64c
Reviewed-on: https://go-review.googlesource.com/c/website/+/537497
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Change-Id: I99b9be77dd665be634cf49a834bc0f82e9cce45e
GitHub-Last-Rev: 5d01712aae
GitHub-Pull-Request: golang/website#257
Reviewed-on: https://go-review.googlesource.com/c/website/+/535495
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
This was broken at some point in the transition to the new site.
The iframe sizer was failing to run because '#footer' was not resolving.
If we fix it, then we have the problem that the "footer" is enormous
and we don't want to leave room for it on the screen anymore,
so just zero out that part of the computation.
This makes the codewalks viewable again.
Change-Id: I4080063bdb8988eeaf786e0f579e6e0877d97cb5
Reviewed-on: https://go-review.googlesource.com/c/website/+/534859
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
go.dev/blog/go-fonts is meant to render using the Go fonts,
but in the move from x/blog to x/website, I dropped those
files accidentally, because they were in _static instead of _content.
Bring them back, properly linked from the fonts blog post.
Change-Id: Ia96b12df95f968357c87d8423d4ca9eb76a83f9e
Reviewed-on: https://go-review.googlesource.com/c/website/+/534858
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
Keep them up with the times.
Change-Id: I8f6940b59cac0c70320a796a0c3cfcdef8a2633d
Reviewed-on: https://go-review.googlesource.com/c/website/+/531676
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
The linked blog post is from the days of GOPATH and can be confusing
with modern Go; we have a more official documentation page on
organizing Go modules now.
Change-Id: I01b67f750055a83d9ecc25c596719ffd842ef7ed
Reviewed-on: https://go-review.googlesource.com/c/website/+/534795
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Change-Id: I6aa2feab8dec5e7b057cef94dfa7188a0ce361ee
Reviewed-on: https://go-review.googlesource.com/c/website/+/534435
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Change-Id: I2b60b5f4129a565d23fd2eb5d64c0dbf578134b4
Reviewed-on: https://go-review.googlesource.com/c/website/+/534217
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Per feedback from Dmitri Shuralyov.
Also, smoothened out some repetitive prose.
Change-Id: Ia850912c2fc48ce62a5523382ea33c19e7a0bc6a
Reviewed-on: https://go-review.googlesource.com/c/website/+/533895
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Change-Id: I88ba2892c8a0e953f0179dbd59eae9f43d1ecbce
Reviewed-on: https://go-review.googlesource.com/c/website/+/533955
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Change-Id: I577c70f0f70b363cc23761367b58b6a35b447592
Reviewed-on: https://go-review.googlesource.com/c/website/+/532535
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Bypass: Robert Griesemer <gri@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Add styles for dark theme cursor and selection.
Cursor color set equal to the foreground color.
Focused selection color set to the complement color
of the background color and inactive selection
is the lighter tint of it.
Fixesgolang/go#63313
Change-Id: If9702f45262eea330d42ec0fd9717b36da026540
GitHub-Last-Rev: 1545bbaea9
GitHub-Pull-Request: golang/website#253
Reviewed-on: https://go-review.googlesource.com/c/website/+/531856
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Suzy Mueller <suzmue@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Change-Id: Ida8e46ae0c8cd6241a96eac5565310b8b767d307
Reviewed-on: https://go-review.googlesource.com/c/website/+/533255
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Within background mark workers we already have "dedicated",
"fractional", and "idle" workers. Those aren't currently discussed in
this doc, but the idle worker note would be more clear if it did, so
adjust.
Change-Id: I44446cfd157fdae6be29c961052dbdabb1394bcf
Reviewed-on: https://go-review.googlesource.com/c/website/+/531707
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Done with:
go run cloud.google.com/go/internal/aliasfix/cmd/aliasfix@latest .
go mod tidy
As suggested in the package deprecation note¹.
¹ https://pkg.go.dev/google.golang.org/genproto/googleapis/devtools/cloudbuild/v1#pkg-overview
Change-Id: I5bc13274728839f3ef4df9aadda9634f46e1968c
Reviewed-on: https://go-review.googlesource.com/c/website/+/531701
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Basic cut functionality is available in the standard library as of
Go 1.18, so today's supported Go versions (1.21 & 1.20) can use it.
Also delete cutAny since it was unused.
Change-Id: Iafce0197979d58f4ff4226fd5f640e925ab9b559
Reviewed-on: https://go-review.googlesource.com/c/website/+/531700
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>