Skip to content

Commit a3bafcf

Browse files
committed
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/109576 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 353bba3 commit a3bafcf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/effective_go.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3588,8 +3588,7 @@ <h2 id="web_server">A web server</h2>
35883588
<p>
35893589
Let's finish with a complete Go program, a web server.
35903590
This one is actually a kind of web re-server.
3591-
Google provides a service at
3592-
<a href="http://chart.apis.google.com">http://chart.apis.google.com</a>
3591+
Google provides a service at <code>chart.apis.google.com</code>
35933592
that does automatic formatting of data into charts and graphs.
35943593
It's hard to use interactively, though,
35953594
because you need to put the data into the URL as a query.

0 commit comments

Comments
 (0)