by jjjeii3 · 5y ago · 0 comments
if err != nil { log.Fatal(err) }
In C# I can just log error on one place and transaction will be automatically rolled back. Much less code.
[0]: https://github.com/golang/go/issues/32437 [1]: https://github.com/golang/go/issues/32804 [2]: https://github.com/golang/go/issues/32825