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

examples/

directory
v0.0.13 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

Directories

Path Synopsis
Command dispatch-jobs shows dispatch jobs declared on a use case's plan: one operation (IssueInvoice) saves an invoice and returns usecaseop.Save(...).Dispatch(...), so the invoice row, its event, two dispatch jobs and the audit row commit in ONE transaction, or none of them does.
Command dispatch-jobs shows dispatch jobs declared on a use case's plan: one operation (IssueInvoice) saves an invoice and returns usecaseop.Save(...).Dispatch(...), so the invoice row, its event, two dispatch jobs and the audit row commit in ONE transaction, or none of them does.
Command fc-sync is the declarative-reconciliation example.
Command fc-sync is the declarative-reconciliation example.
Command list-event-types is the smallest possible FlowCatalyst SDK example.
Command list-event-types is the smallest possible FlowCatalyst SDK example.
Command order-service is the end-to-end example of a FlowCatalyst consumer application: one business operation (PlaceOrder) through the use-case envelope, its aggregate, domain event and audit row written to the outbox in one transaction, and a second operation whose plan carries a dispatch job, written in the same transaction as the event that asks for it.
Command order-service is the end-to-end example of a FlowCatalyst consumer application: one business operation (PlaceOrder) through the use-case envelope, its aggregate, domain event and audit row written to the outbox in one transaction, and a second operation whose plan carries a dispatch job, written in the same transaction as the event that asks for it.
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.
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.
Command scheduled-jobs-runner mounts a scheduledjobs.Runner behind a stdlib HTTP handler.
Command scheduled-jobs-runner mounts a scheduledjobs.Runner behind a stdlib HTTP handler.
Command webhook-receiver shows how to mount the webhook validator behind a stdlib HTTP handler.
Command webhook-receiver shows how to mount the webhook validator behind a stdlib HTTP handler.

Jump to

Keyboard shortcuts

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