You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone [email protected]:opentrx/seata-golang.git
cd seata-golang
vim ./cmd/profiles/dev/config.yml
# update storage.mysql.dsn# update log.logPath# create database `seata` on mysql server# mysql> CREATE database if NOT EXISTS `seata` default character set utf8mb4 collate utf8mb4_unicode_ci;cd cmd/tc
go run main.go start -config ../profiles/dev/config.yml
AT mode example (gorm or http)
Step1: setup aggregation_svc client
cd seata-go-samples/gorm
vim ./aggregation_svc/conf/client.yml
# update log.logPathexport ConfigPath="./aggregation_svc/conf/client.yml"
go run aggregation_svc/main.go
Step2: setup order_svc client
cd seata-go-samples/gorm
vim ./order_svc/conf/client.yml
# update at.dsn# update log.logPathexport ConfigPath="./order_svc/conf/client.yml"
go run order_svc/main.go
Step3: setup product_svc client
cd seata-go-samples/gorm
vim ./product_svc/conf/client.yml
# update at.dsn# update log.logPathexport ConfigPath="./product_svc/conf/client.yml"
go run product_svc/main.go