GGP1 / txgroup

An easy way to handle a group of transactions from different databases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

txgroup

Package txgroup provides a simple way of handling multiple transactions from different databases as if they were only one, facilitating their propagation, cancelation and execution.

Note that it does not guarantee atomicity among transactions, one may succeed and the following one fail, leaving the system with an inconsistent state.

For an example on how to use the package head over to example.

go get -u github.com/GGP1/txgroup

About

An easy way to handle a group of transactions from different databases

License:Apache License 2.0


Languages

Language:Go 100.0%