go-pg/pg
Golang ORM with focus on PostgreSQL features and performance observed · 2026-08-28
Health v2 · maintenance only
80/100
- Activity 91
- Release rhythm 54
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 264.5
- age_days: 4879
- days_rel: 96
- days_push: 54
- n_releases_24m: 3
Adoption not part of the score
5784 stars · 414 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
go-pg is a Go ORM and PostgreSQL client focused on PostgreSQL-specific features like b, hstore, and arrays, with strong performance. It is now in maintenance mode receiving only critical fixes, with new development moved to the Bun ORM.
Use cases
- map Go structs to PostgreSQL tables
- query PostgreSQL with b and hstore columns
- build a Go backend with a PostgreSQL ORM
- run efficient bulk inserts and selects in Go
- manage relations and joins between Go models
When to choose
- maintaining an existing Go codebase already built on go-pg
- you need PostgreSQL-specific types like arrays, hstore, or b in a legacy stack
When to avoid
- starting a new Go project - use Bun instead
- you need multi-database support like MySQL or SQLite
- you expect new features or active community development
Facets
library · maturity maintenance
orm database-driver database databases backend developer-tools go windows cross-platform postgresql golang b hstore sql maintenance-mode successor-bun linux macos
4 sources
- readme: https://github.com/go-pg/pg · fetched 2026-08-28 · b19da8b40b75
- homepage: https://pg.uptrace.dev/ · fetched 2026-08-29 · d8cdb49f6b39
- site_page: https://bun.uptrace.dev/ · fetched 2026-08-29 · e9f1430455e9
- site_page: https://pg.uptrace.dev/faq · fetched 2026-08-29 · 303603a1eb89
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| go-pg/pg | main | 80 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem