b1ngsha opened a new pull request, #96: URL: https://github.com/apache/incubator-seata-go-samples/pull/96
- Introduced a new Docker Compose configuration for running Seata and two MySQL instances. - Added bank-a and bank-b services to handle debit and credit operations respectively. - Implemented a transfer service to manage global transactions across the two banks. - Included SQL scripts for initializing the databases and accounts. - Updated README with instructions on running the sample and details on the transaction process. <!-- Thanks for sending a pull request! Read https://github.com/apache/dubbo-go/blob/master/CONTRIBUTING.md before commit pull request. --> **What this PR does**: add XA bank transfer sample with Docker Compose setup **Which issue(s) this PR fixes**: Fixes #91 **The related PR of seata-go** **You should pay attention to items below to ensure your pr passes our ci test** We do not merge pr with ci tests failed - [ ] All ut passed (run 'go test ./...' in project root) - [ ] After go-fmt ed , run 'go fmt project' using goland. - [ ] Golangci-lint passed, run 'sudo golangci-lint run' in project root. - [ ] Your new-created file needs to have [apache license](https://raw.githubusercontent.com/dubbogo/resources/master/tools/license/license.txt) at the top, like other existed file does. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
