From a3bafcf8ccb55b130c10cbf45e44ab77823672a1 Mon Sep 17 00:00:00 2001 From: Alberto Donizetti Date: Thu, 26 Apr 2018 20:13:54 +0200 Subject: [PATCH] doc: make chart.apis.google.com link not clickable The example in the 'A web server' section of the effective Go document uses Google's image charts API (at chart.apis.google.com). The service is now deprecated (see developers.google.com/chart/image), and visiting http://chart.apis.google.com gives a 404. The endpoint is still active, so the Go code in the example still works, but there's no point in making the link clickable by the user if the page returns a 404. Change the element to ``. Change-Id: Ie67f4723cfa636e3dc1460507055b6bbb2b0970c Reviewed-on: https://go-review.googlesource.com/109576 Reviewed-by: Brad Fitzpatrick --- doc/effective_go.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/effective_go.html b/doc/effective_go.html index 61de824fcd..89c1d08782 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -3588,8 +3588,7 @@ That's left as an exercise for the reader.

Let's finish with a complete Go program, a web server. This one is actually a kind of web re-server. -Google provides a service at -http://chart.apis.google.com +Google provides a service at chart.apis.google.com that does automatic formatting of data into charts and graphs. It's hard to use interactively, though, because you need to put the data into the URL as a query.