From 64b8fc40e27f33023b51ef5b546f216ac4c6674e Mon Sep 17 00:00:00 2001 From: astaxie Date: Mon, 31 Mar 2014 22:44:11 +0800 Subject: [PATCH] fix #280 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新 https://github.com/lib/pq --- ebook/05.4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ebook/05.4.md b/ebook/05.4.md index 878b007b..44190eaa 100644 --- a/ebook/05.4.md +++ b/ebook/05.4.md @@ -9,7 +9,7 @@ MySQL被Oracle收购之后正在逐步的封闭(自MySQL 5.5.31以后的所有 ## 驱动 Go实现的支持PostgreSQL的驱动也很多,因为国外很多人在开发中使用了这个数据库。 -- https://github.com/bmizerany/pq 支持database/sql驱动,纯Go写的 +- https://github.com/lib/pq 支持database/sql驱动,纯Go写的 - https://github.com/jbarham/gopgsqldriver 支持database/sql驱动,纯Go写的 - https://github.com/lxn/go-pgsql 支持database/sql驱动,纯Go写的 @@ -43,7 +43,7 @@ package main import ( "database/sql" "fmt" - _ "github.com/bmizerany/pq" + _ "https://github.com/lib/pq" ) func main() {