bxcodec / go-clean-arch

Go (Golang) Clean Architecture based on Reading Uncle Bob's Clean Architecture
MIT License
9.06k stars 1.19k forks source link

How to use transactions in the Service layer to wrap different Repository methods? #45

Closed voe1999 closed 4 years ago

voe1999 commented 4 years ago

If I want to wrap several functions from different repositories in one transaction, how should i do it?

bxcodec commented 4 years ago

You can look at this pr #36, there's a lot of approachment from the others.

voe1999 commented 4 years ago

thx :)

You can look at this pr #36, there's a lot of approachment from the others.