QueueCraft is a lightweight, modular job queue and worker system built in Go. It helps you run background jobs (like sending emails or processing data) using a pool of workers — perfect for building reliable async workflows in your Go applications.
- ⚡️ Fast and efficient worker pool (goroutines + channels)
- 🧱 PostgreSQL-backed persistent job storage (using Neon DB)
- 🧩 Uses pgx as the database driver
- 🔁 Built-in support for retries, job delays, and scheduling
- 🛠️ Custom job handler support (
send_email
,generate_report
, etc.) - 📜 Database migrations managed with Goose
- 🧪 Testable design with clean abstractions
- 🧹 Graceful shutdown and in-progress job recovery
- Go
- pgx as the PostgreSQL driver
- Neon (PostgreSQL)
- Goose for migrations
- SQLC for type-safe SQL
- Go standard library
- Go 1.20+
- A Neon PostgreSQL instance
- Goose CLI installed
- SQLC if you're using generated code