Fix lib/pg Pgsql database link

This commit is contained in:
vCaesar
2017-05-30 11:22:13 +08:00
parent 0a333804b1
commit 18ec8b85d5
14 changed files with 18 additions and 15 deletions

View File

@@ -6,7 +6,7 @@ PostgreSQL is an object-relational database management system available for many
There are many database drivers available for PostgreSQL. Here are three examples of them:
- [https://github.com/bmizerany/pq](https://github.com/lib/pq) supports `database/sql`, written in pure Go.
- [https://github.com/lib/pq](https://github.com/lib/pq) supports `database/sql`, written in pure Go.
- [https://github.com/jbarham/gopgsqldriver](https://github.com/jbarham/gopgsqldriver) supports `database/sql`, written in pure Go.
- [https://github.com/lxn/go-pgsql](https://github.com/lxn/go-pgsql) supports `database/sql`, written in pure Go.

View File

@@ -11,7 +11,7 @@ Because beedb supports `database/sql` interface standards, any driver that imple
Mysql: [github/go-mysql-driver/mysql](https://github.com/go-sql-driver/mysql)
PostgreSQL: [github.com/bmizerany/pq](https://github.com/lib/pq)
PostgreSQL: [github.com/lib/pq](https://github.com/lib/pq)
SQLite: [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)

View File

@@ -5,8 +5,9 @@ package main
import (
"database/sql"
"fmt"
_ "github.com/bmizerany/pq"
"time"
_ "github.com/lib/pq"
)
const (