command
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Oct 25, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Basic usage
Enqueue an email in the user row's transaction (InsertTx) and wait for it. The README example.
docker compose -f deploy/docker-compose.yml up -d --wait postgres # Postgres on localhost:55432
go run ./examples/basic # safe to rerun
Default FOREMAN_DATABASE_URL:
postgres://foreman:foreman@localhost:55432/foreman?sslmode=disable.
Expected output
sending "welcome" email to user 1 (attempt 1)
job completed: id=1 state=completed
Documentation
¶
Command basic enqueues a job in a transaction and waits for it to complete.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.