]> Cypherpunks repositories - gostls13.git/commit
doc: make chart.apis.google.com link not clickable
authorAlberto Donizetti <alb.donizetti@gmail.com>
Thu, 26 Apr 2018 18:13:54 +0000 (20:13 +0200)
committerAlberto Donizetti <alb.donizetti@gmail.com>
Thu, 26 Apr 2018 18:26:06 +0000 (18:26 +0000)
commita3bafcf8ccb55b130c10cbf45e44ab77823672a1
treec62a0aedcc68c208ff4ee80bdafbfbe77b818f9f
parent353bba37df54adcefde7faf41edc34d2bfa5f978
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 <bradfitz@golang.org>
doc/effective_go.html