Commit a3bafcf8 authored by Alberto Donizetti's avatar Alberto Donizetti

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 `<code>`.

Change-Id: Ie67f4723cfa636e3dc1460507055b6bbb2b0970c
Reviewed-on: https://go-review.googlesource.com/109576Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 353bba37
...@@ -3588,8 +3588,7 @@ That's left as an exercise for the reader. ...@@ -3588,8 +3588,7 @@ That's left as an exercise for the reader.
<p> <p>
Let's finish with a complete Go program, a web server. Let's finish with a complete Go program, a web server.
This one is actually a kind of web re-server. This one is actually a kind of web re-server.
Google provides a service at Google provides a service at <code>chart.apis.google.com</code>
<a href="http://chart.apis.google.com">http://chart.apis.google.com</a>
that does automatic formatting of data into charts and graphs. that does automatic formatting of data into charts and graphs.
It's hard to use interactively, though, It's hard to use interactively, though,
because you need to put the data into the URL as a query. because you need to put the data into the URL as a query.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment