mirror of
				https://github.com/gopl-zh/gopl-zh.github.com.git
				synced 2025-10-31 18:21:36 +00:00 
			
		
		
		
	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.)
This commit is contained in:
		| @@ -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 | ||||
| ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user