aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Donizetti <alb.donizetti@gmail.com>2021-06-09 13:43:59 +0200
committerAlberto Donizetti <alb.donizetti@gmail.com>2021-06-13 14:35:50 +0000
commit0ff9d971f1a39e557dc70b87257ea8032d8b7eac (patch)
tree028bb5d2fddd1e3a96acd852f8839b428f7832fd
parent6f51df2203287137af1b62c570e64a2234d4513c (diff)
downloadgo-x-website-0ff9d971f1a39e557dc70b87257ea8032d8b7eac.tar.xz
tour: fix dead link to golang.org search
The methods/21 slide in the tour linked to golang.org/search?q=Read#Global to list examples of the Reader interface implementations in the standard library. The link has been dead since the search functionality was removed from the golang.org website. AFAIK the pkg.go.dev doesn't yet support symbol search, and I wasn't able to find a way to replicate the old golang.org search result on pkg.go.dev; this change replaces the link with a cs.opensource.google search that shows very similar results to the ones from golang.org. Fixes golang/tour#1140 Updates golang/tour#1144 Updates golang/tour#1158 Updates golang/tour#1168 Updates golang/tour#1169 Updates golang/tour#1173 Updates golang/tour#1174 Updates golang/tour#1175 Updates golang/tour#1178 Updates golang/tour#1206 Updates golang/tour#1207 Change-Id: I762f426cc84ee7b94a7a1147bf5a258f61d0acde Reviewed-on: https://go-review.googlesource.com/c/website/+/326329 Trust: Alberto Donizetti <alb.donizetti@gmail.com> Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
-rw-r--r--tour/content/methods.article2
1 files changed, 1 insertions, 1 deletions
diff --git a/tour/content/methods.article b/tour/content/methods.article
index 34aa6735..4a956c21 100644
--- a/tour/content/methods.article
+++ b/tour/content/methods.article
@@ -343,7 +343,7 @@ Change your `Sqrt` function to return an `ErrNegativeSqrt` value when given a ne
The `io` package specifies the `io.Reader` interface,
which represents the read end of a stream of data.
-The Go standard library contains [[https://golang.org/search?q=Read#Global][many implementations]] of this interface, including files, network connections, compressors, ciphers, and others.
+The Go standard library contains [[https://cs.opensource.google/search?q=Read%5C(%5Cw%2B%5Cs%5C%5B%5C%5Dbyte%5C)&ss=go%2Fgo][many implementations]] of this interface, including files, network connections, compressors, ciphers, and others.
The `io.Reader` interface has a `Read` method: