errata: add UTF-8 header

This commit is contained in:
Alan Donovan
2015-10-22 12:51:54 -04:00
parent 2c5e4fffeb
commit f426083363

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
@@ -16,17 +17,17 @@ pre {
</head>
<body>
<h1>Errata</h1>
<p>
<b>p.9, ¶2</b>: for "can compared", read "can be compared".
(Thanks to Antonio Macías Ojeda.)
</p>
<p>
<b>p.13</b>: As printed, the <code>gopl.io/ch1/lissajous</code> program
is deterministic, not random. We've added this statement to
is deterministic, not random. We've added the statement below to
the downloadable program so that it prints a pseudo-random image
each time it is run. (Thanks to Randall McPherson.)
</p>
<pre>rand.Seed(time.Now().UTC().UnixNano())</pre>
<p>
<b>p.9, paragraph 2</b>: for "can compared", read "can be compared".
(Thanks to Antonio Macías Ojeda.)
</p>
</body>
</html>