Files
gopl.io/errata.html
2015-10-22 12:51:54 -04:00

34 lines
920 B
HTML

<?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">
<head>
<title>The Go Programming Language - Errata</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<style>
body {
width: 38em;
margin: auto;
}
pre {
padding-left: 1em;
}
</style>
</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 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>
</body>
</html>