github.com/lib/pq
Go Modulesvv1.12.3Go module: github.com/lib/pq
Not recommended for new projects
No — github.com/lib/pq should not be adopted for new projects. Depended on by 13 known packages. No license declared — you have no explicit right to use this code.
- CAdoption: grade C, Fair — worth a look.
Depended on by 13 known packages.
- BMaintenance: grade B, Good.
Last published 159 days ago. 7 releases in the last 2 years.
- ?Weight: grade ?, Not reported by this registry.
No dependency or size data collected for this package yet.
- BSupply chain: grade B, Good.
This package lists no maintainer.
- FLicense: grade F, Failing.
No license declared — you have no explicit right to use this code.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding github.com/lib/pq to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Longest resolved dependency chain below this package.
Compatibility
- Go
- No constraint declared
Used by
Popular packages that depend on github.com/lib/pq.
Go module: github.com/securego/gosec/v2
Go module: github.com/jmoiron/sqlx
Go module: github.com/mozilla/tls-observatory
Go module: github.com/google/certificate-transparency-go
Go module: github.com/google/trillian
Go module: github.com/apache/beam/sdks/v2
Go module: github.com/cockroachdb/cockroach-go/v2
Go module: github.com/jackc/pgtype
Go module: github.com/GoogleCloudPlatform/cloudsql-proxy
Go module: github.com/substrait-io/substrait-go
Go module: github.com/cockroachdb/apd/v3
Go module: github.com/proullon/ramsql
Go module: gocloud.dev
Relationship graph
Dependencies (left) and dependents (right) of github.com/lib/pq.
Frequently installed together
Go module: golang.org/x/crypto
Go module: golang.org/x/text
Go module: golang.org/x/sys
Go module: github.com/google/uuid
Go module: google.golang.org/protobuf
Go module: github.com/go-sql-driver/mysql
Go module: cloud.google.com/go/compute/metadata
Go module: golang.org/x/net
Go module: github.com/cespare/xxhash/v2
Go module: cloud.google.com/go/auth
Go module: github.com/felixge/httpsnoop
Go module: github.com/go-logr/logr
Release history
7 releases in the last two years, typically about 39 days apart.
| Version | Published | License |
|---|---|---|
| v1.12.3latest | 5 months ago | — |
| v1.12.2 | 5 months ago | — |
| v1.12.1 | 5 months ago | — |
| v1.12.0 | 5 months ago | — |
| v1.11.2 | 7 months ago | — |
| v1.11.1 | 7 months ago | — |
| v1.11.0 | 7 months ago | — |
| v1.10.9 | 3 years ago | — |
| v1.10.8 | 3 years ago | — |
| v1.10.7 | 4 years ago | — |
| v1.10.6 | 4 years ago | — |
| v1.10.5 | 4 years ago | — |
| v1.10.4 | 4 years ago | — |
| v1.10.3 | 5 years ago | — |
| v1.10.2 | 5 years ago | — |
Overview
github.com/lib/pq is an Go Modules package that go module: github.com/lib/pq. It has 13 known dependents in the graph. The latest version is v1.12.3.
Who should use it
Teams working in the Go Modules ecosystem who need go module: github.com/lib/pq and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your Go Modules stack.
Pros
- Zero runtime dependencies — minimal footprint.
Cons
- No license detected — review usage terms before adopting.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use github.com/lib/pq?
No — github.com/lib/pq should not be adopted for new projects. Depended on by 13 known packages. No license declared — you have no explicit right to use this code.
How do I install github.com/lib/pq?
Run `go get github.com/lib/pq` to add github.com/lib/pq to your Go Modules project.
What license is github.com/lib/pq released under?
No license was detected in github.com/lib/pq's metadata; review the repository before use.
How popular is github.com/lib/pq?
Go Modules does not publish download counts. Within PackageGraph's crawl, 13 known packages depend on github.com/lib/pq.
Is github.com/lib/pq still maintained?
The most recent release of github.com/lib/pq (vv1.12.3) was published 5 months ago.