Skip to content

tangelo-labs/go-outbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Outbox

Gorm Example

Workaround for resolving *sql.Tx from Gorm *gorm.DB:

err := gorm.DB.Transaction(func(tx *gorm.DB) error {
    pool := tx.Statement.ConnPool

    store.SaveTx(ctx, pool.(*sql.Tx), &outbox.Event{...})
})

Testing

The package includes a test suite that you can run with the go test command:

go test ./...

Contributing

Contributions to go-outbox are welcome. Please submit a pull request or create an issue to discuss the changes you want to make.

License

go-outbox is licensed under the MIT License. See the LICENSE file for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages