Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more! Learn more →
Top 23 Go Postgre Projects
-
Gravitational Teleport
The easiest, and most secure way to access and protect all of your infrastructure.
Teleport (YC S15) | Backend and Fullstack Engineers | US, Toronto, London, Remote OK | https://goteleport.com
Do you enjoy building security and deployment tools for other engineers? Join us to hack on https://github.com/gravitational/teleport. Most of our code is Go, we have very little technical debt, our codebase is clean and small.
If you are a backend or fullstack engineer, we expect you to be comfortable with the following:
* Go for backend and Go+TypeScript for fullstack engineers.
-
Sevalla
Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
-
Project mention: Database Schema Migration Cheatsheet with golang-migrate/migrate | dev.to | 2025-07-12
curl -L https://github.com/golang-migrate/migrate/releases/download/v4.17.1/migrate.linux-amd64.tar.gz | tar xvz sudo mv migrate /usr/local/bin/
-
FerretDB v2 is built on top of this extension. See https://github.com/FerretDB/FerretDB
-
Project mention: Clement-tourriere/dbcrust: The modern database CLI that speaks your language | news.ycombinator.com | 2025-08-16
-
Goose is a no-fuss, lightweight migration tool for Go. It’s perfect for developers who want minimal setup and SQL-based migrations without heavy dependencies. Goose supports PostgreSQL, MySQL, SQLite, and more, and it’s easy to integrate into a Go project.
-
-
cloudnative-pg
CloudNativePG is a comprehensive platform designed to seamlessly manage PostgreSQL databases within Kubernetes environments, covering the entire operational lifecycle from initial deployment to ongoing maintenance
Xata’s new platform uses a decoupled storage and compute architecture similar in spirit to Aurora, but with a critical difference. We do it strictly at the storage layer, without modifying Postgres itself. On the compute side, we run unmodified PostgreSQL instances in containers orchestrated by Kubernetes, using the CloudNativePG operator for high availability and failover. On the storage side, we’ve partnered with Simplyblock to provide a distributed block storage cluster accessible over NVMe-oF (NVMe over Fabrics).
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
dbmate – A simple, language-agnostic approach to managing database migrations.
-
There are two major ways to deploy Postgres to Kubernetes. First is using Helm charts like bitnami/postgresql or Serge’s postgresql-single, which has benefits compared to bitnami chart. The second way to run Postgres is to use the Kubernetes operator. There are a couple of them, here we will talk about Zalando Postgres operator. The helm way is better when in the future you will not plan to use more than one or two Postgres clusters per Kubernetes cluster. If you realize, that you will run more, then the Operator way is for you with all its automation and management advantages. Here is an example of PostgreSQL database manifest for Zalando Postgres Operator pg-prod.yaml. This example was tested for intensive transaction processing with query rates up to 3000-4000 per second and database size up to 350GB (data and indexes). It is enough to start most projects with thousands of active users like medium-volume webshops, news- and community-support websites, medium-sized gaming or gambling, etc. We assume, that we already set up the operator and the S3 bucket with encryption and access control for backups and WAL-log storage.
-
pREST
PostgreSQL ➕ REST, low-code, simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new
-
Project mention: How to Run CRON Jobs in Postgres Without Extra Infrastructure | news.ycombinator.com | 2025-05-30
-
postgres-operator
Production PostgreSQL for Kubernetes, from high availability Postgres clusters to full-scale database-as-a-service. (by CrunchyData)
-
space-cloud
Open source Firebase + Heroku to develop, scale and secure serverless apps on Kubernetes
-
Slightly related but how does WAL-G stack up as far as backup/restoration options go for Postgres? https://github.com/wal-g/wal-g
-
Project mention: Structuring a Go Project with Clean Architecture — A Practical Example | dev.to | 2025-05-25
4. Infrastructure Layer — internal/infra/ This layer implements database logic using go-jet and sqlx. It satisfies the interfaces defined in the domain layer.
-
peerdb
Fast, Simple and a cost effective tool to replicate data from Postgres to Data Warehouses, Queues and Storage
Project mention: ClickHouse matches PG for single-row UPDATEs and 4k× faster for bulk UPDATEs | news.ycombinator.com | 2025-08-17 -
I've been using Go with Goqu [1] for SQL for a lot of things lately. But, the language shouldn't matter much. The functions are just building the appropriate SQL clauses.
For some of the operations, the method I was using required marshaling the inputs to JSON before sending them over the wire. And that's nicer in a non SQL programming language. But both db's ultimately do have json_build_array/json_build_object for PostgreSQL or json_array/json_object for SQLite3.
[1] https://github.com/doug-martin/goqu
-
-
database-lab-engine
DBLab enables 🖖 database branching and ⚡️ thin cloning for any Postgres database and empowers DB testing in CI/CD. This optimizes database-related costs while improving time-to-market and software quality. Follow to stay updated.
-
-
Project mention: Effortless PostgreSQL backups with a user-friendly web interface | news.ycombinator.com | 2024-09-08
-
-
gnomock
Test your code without writing mocks with ephemeral Docker containers 📦 Setup popular services with just a couple lines of code ⏱️ No bash, no yaml, only code 💻
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Postgres discussion
Go Postgres related posts
-
neon VS dolt - a user suggested alternative
2 projects | 8 Jul 2025 -
Speeding up PostgreSQL dump/restore snapshots
-
PostgreSQL Branching: Xata vs. Neon vs. Supabase - Part 1
-
Streaming PostgreSQL Backups with pgrwl: Now with Time & Count-Based Retention!
-
Pgrwl v1.0.16 Adds Base Backup Support for PostgreSQL WAL Archiving
-
🔬 Internals of PostgreSQL WAL Streaming with pgrwl: A Cloud-Native Receiver Built in Go
-
Neoq – a queue-agnostic background job library for Go
-
A note from our sponsor - Sevalla
sevalla.com | 1 Sep 2025
Index
What are some of the best open-source Postgre projects in Go? This list will help you:
# | Project | Stars |
---|---|---|
1 | Gravitational Teleport | 19,068 |
2 | migrate | 17,250 |
3 | FerretDB | 10,413 |
4 | usql | 9,513 |
5 | goose | 9,007 |
6 | SQLBoiler | 6,916 |
7 | cloudnative-pg | 6,730 |
8 | dbmate | 6,294 |
9 | postgres-operator | 4,840 |
10 | pREST | 4,390 |
11 | river | 4,381 |
12 | postgres-operator | 4,237 |
13 | space-cloud | 3,970 |
14 | wal-g | 3,692 |
15 | jet | 3,342 |
16 | peerdb | 2,646 |
17 | goqu | 2,555 |
18 | sq | 2,316 |
19 | database-lab-engine | 2,197 |
20 | go-oauth2-server | 2,129 |
21 | pgbackweb | 1,803 |
22 | go-base | 1,627 |
23 | gnomock | 1,463 |