added doc
All checks were successful
Go / build (1.23) (push) Successful in 2m31s

This commit is contained in:
Colin Henry 2025-03-18 22:28:20 -07:00
parent 6aa7788fd0
commit 56752521c2

View File

@ -13,3 +13,15 @@ Example usage:
go dba.Run(ctx)
*/
/*
Transactor Example:
func insert(ctx context.Context, db *sql.DB) error{
// SQL HERE
}
...
dba.ActionChan <- db.WithTransaction(insert)
*/