|
hace 7 años | |
---|---|---|
.. | ||
oid | hace 7 años | |
.gitignore | hace 7 años | |
.travis.sh | hace 7 años | |
.travis.yml | hace 7 años | |
CONTRIBUTING.md | hace 9 años | |
LICENSE.md | hace 9 años | |
README.md | hace 7 años | |
array.go | hace 7 años | |
buf.go | hace 9 años | |
conn.go | hace 7 años | |
conn_go18.go | hace 7 años | |
copy.go | hace 7 años | |
doc.go | hace 7 años | |
encode.go | hace 7 años | |
error.go | hace 7 años | |
notify.go | hace 7 años | |
rows.go | hace 7 años | |
ssl.go | hace 7 años | |
ssl_go1.7.go | hace 7 años | |
ssl_permissions.go | hace 7 años | |
ssl_renegotiation.go | hace 7 años | |
ssl_windows.go | hace 7 años | |
url.go | hace 9 años | |
user_posix.go | hace 7 años | |
user_windows.go | hace 9 años | |
uuid.go | hace 7 años |
go get github.com/lib/pq
For detailed documentation and basic usage examples, please see the package documentation at http://godoc.org/github.com/lib/pq.
go test
is used for testing. A running PostgreSQL server is
required, with the ability to log in. The default database to connect
to test with is "pqgotest," but it can be overridden using environment
variables.
Example:
PGHOST=/run/postgresql go test github.com/lib/pq
Optionally, a benchmark suite can be run as part of the tests:
PGHOST=/run/postgresql go test -bench .
database/sql
time.Time
correctly (i.e. timestamp[tz]
, time[tz]
, date
)bytea
)hstore
supportLISTEN
/NOTIFY
Some of these contributors are from the original library bmizerany/pq.go
whose
code still exists in here.