Merge commit '64b8fc40e27f33023b51ef5b546f216ac4c6674e' into ja
This commit is contained in:
@@ -9,7 +9,7 @@ MySQL被Oracle收购之后正在逐步的封闭(自MySQL 5.5.31以后的所有
|
|||||||
## 驱动
|
## 驱动
|
||||||
Go实现的支持PostgreSQL的驱动也很多,因为国外很多人在开发中使用了这个数据库。
|
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/jbarham/gopgsqldriver 支持database/sql驱动,纯Go写的
|
||||||
- https://github.com/lxn/go-pgsql 支持database/sql驱动,纯Go写的
|
- https://github.com/lxn/go-pgsql 支持database/sql驱动,纯Go写的
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ package main
|
|||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"fmt"
|
"fmt"
|
||||||
_ "github.com/bmizerany/pq"
|
_ "https://github.com/lib/pq"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
Reference in New Issue
Block a user