Transaction decorator

Introduction There are many situations when you need to perform a series of actions over some data. Still, this series may make data inconsistent in case of any failure. That’s why developers need transactions, to ensure the consistency of the data. In Go, there are a lot of different concerns that you have to keep in mind when you’re designing your work with the transactions, and some patterns can you help to work with....

December 18, 2021 · 6 min · @semior001