Help us shape the future of Go! Take the 2026 Go Developer Survey

outbox-sql

command
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Command outbox-sql writes outbox rows through database/sql, for an application that does not use pgx (or runs on MySQL): an event, its audit row and a dispatch job, committed with the application's own write in one *sql.Tx. The rows are the same ones outboxpgx writes.

Run

FC_DATABASE_URL=postgres://localhost:5432/orders go run ./examples/outbox-sql

For MySQL, open the database with go-sql-driver/mysql and pass outboxsql.DialectMySQL to both InitSchema and NewWriter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL