go-migration
Versioned, transactional schema migrations for SQL — the same run locally, in CI, and across Postgres, MySQL, and SQLite.
Migration, auditing, notifications, and API docs. Battle-tested, idiomatic, drop-in ready.
// PACKAGES
Four focused packages. Each does one thing well.
Versioned, transactional schema migrations for SQL — the same run locally, in CI, and across Postgres, MySQL, and SQLite.
Structured, append-only audit logging — a pluggable Store (SQL, in-memory, or your own) that answers who did what, when.
One dispatcher for email, WhatsApp, SMS, chat (Slack/Telegram/Discord/Teams), push, in-app, and webhooks — pluggable drivers.
OpenAPI 3.x specs generated from your Go API — keeps the docs honest by failing the build when they drift from your handlers.
// PHILOSOPHY
Plain Go. No reflection tricks, no hidden state. Read the code in an afternoon.
90%+ coverage, integration tests against real services.
Semantic versioning. Breaking changes are loud and rare.
// LATEST WRITING
A full accuracy pass on the go-notification docs — replacing a fictional Laravel-style API with the real Go one — plus an On this page menu and the same LLM-friendly endpoints.
Read moreCollapsing the go-audit docs onto a single MDX source, documenting the Store interface that was missing, code blocks that mean something, and the same LLM-friendly endpoints.
Read moreA top-to-bottom accuracy pass on the open-swaggo docs — deleting a fictional CLI and fake config fields, fixing every example — plus the same LLM-friendly endpoints.
Read more