From a711096f227e71cf917b247d3e1740264654ecd3 Mon Sep 17 00:00:00 2001 From: chai2010 Date: Mon, 11 Jan 2016 10:22:08 +0800 Subject: [PATCH] update errata.md --- errata.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/errata.md b/errata.md index 7907cdd..935d2ee 100644 --- a/errata.md +++ b/errata.md @@ -44,6 +44,10 @@ appears on the right-hand side of a variable declaration with an explicit type, **p.166, ¶2:** for "way", read "a way". +**p.222. Exercise 8.1:** The port numbers for `London` and `Tokyo` should be swapped in the final command to match the earlier commands. (Thanks to Kiyoshi Kamishima, 2016-01-08.) + +**p.288, code display following ¶4:** In the import declaration, for `"database/mysql"`, read `"database/sql"`. (Thanks to Jose Colon Rodriguez, 2016-01-09.) + **p.200, TestEval function:** the format string in the final call to t.Errorf should format test.env with %v, not %s. (Thanks to Mitsuteru Sawa, 2015-12-07.) **p.347, Exercise 12.8:** for "like json.Marshal", read "like json.Unmarshal". (Thanks to @chai2010, 2016-01-01.)