diff --git a/errata.html b/errata.html new file mode 100644 index 0000000..f2a02d1 --- /dev/null +++ b/errata.html @@ -0,0 +1,27 @@ + + +
+
+ p.13: As printed, the gopl.io/ch1/lissajous program
+ is deterministic, not random. We've added this statement to
+ the downloadable program so that it prints a pseudo-random image
+ each time it is run. (Thanks to Randall McPherson.)
+
rand.Seed(time.Now().UTC().UnixNano())+ + diff --git a/index.html b/index.html index 2a069b5..4b00210 100644 --- a/index.html +++ b/index.html @@ -1,61 +1,10 @@ - + + - -
-The Go Programming Language-+ The Go Programming Language+
Alan A. A. Donovan · Brian W. Kernighan 4. Composite Types5. Functions6. Methods++ Source code |
7. Interfaces@@ -107,8 +85,11 @@ Addison-Wesley; 380pp; ISBN: 978-013419044012. Reflection13. Low-Level ProgrammingIndex [PDF]++ Errata |
-
diff --git a/style.css b/style.css new file mode 100644 index 0000000..1c32b44 --- /dev/null +++ b/style.css @@ -0,0 +1,30 @@ +@font-face { + font-family: MinionPro; + font-weight: normal; + src: url("fonts/MinionPro-Regular.ttf"); +} +@font-face { + font-family: Lato; + font-weight: bold; + src: url("fonts/Lato-Bold.ttf"); +} +@font-face { + font-family: Consolas; + font-weight: normal; + src: url("fonts/Consolas.ttf"); +} +body { + font-family: MinionPro,"Times New Roman"; +} +table { + margin: auto; +} +h1 { + font-family: Lato,Helvetica; + margin-top: 0; + margin-bottom: 0.5em; +} +code, pre { + font-family: Consolas; + font-size: 92%; +}