From 77e5b4c36ca2c803a0180b6f78201603ebe8bc97 Mon Sep 17 00:00:00 2001 From: chai2010 Date: Mon, 11 Jan 2016 10:17:54 +0800 Subject: [PATCH] Fixes Errata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit p.288, code display following ΒΆ4: In the import declaration, for "database/mysql", read "database/sql". (Thanks to Jose Colon Rodriguez, 2016-01-09.) --- ch10/ch10-05.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch10/ch10-05.md b/ch10/ch10-05.md index 141eb69..43e33b0 100644 --- a/ch10/ch10-05.md +++ b/ch10/ch10-05.md @@ -79,7 +79,7 @@ func init() { ```Go import ( - "database/mysql" + "database/sql" _ "github.com/lib/pq" // enable support for Postgres _ "github.com/go-sql-driver/mysql" // enable support for MySQL )