Fixes Errata

p.288, code display following ¶4: In the import declaration, for "database/mysql", read "database/sql". (Thanks to Jose Colon Rodriguez, 2016-01-09.)
pull/1/head
chai2010 2016-01-11 10:17:54 +08:00
parent e74f2527fc
commit 77e5b4c36c
1 changed files with 1 additions and 1 deletions

View File

@ -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
)